From e260780c9ded3d5455e5465fde4129cf14346c88 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Tue, 6 Jun 2023 21:04:41 +1200 Subject: [PATCH] Export: Fix Cylinder Pressures in CSV Export. Fix the cylinder pressures in the CSV summary export. Only show pressures derived from `pressure` attributes in samples for the first cylinder. Add support for showing pressures derived from `pressure0` ... `pressureX` attributes. Also cleaned up unit conversions, and changed tabs to spaces. From discussion in https://github.com/subsurface/subsurface/pull/3906#issuecomment-1575980882. Signed-off-by: Michael Keller --- xslt/xml2manualcsv.xslt | 252 ++++++++++++++++++++-------------------- 1 file changed, 124 insertions(+), 128 deletions(-) diff --git a/xslt/xml2manualcsv.xslt b/xslt/xml2manualcsv.xslt index 00d5779e4..160660a2d 100644 --- a/xslt/xml2manualcsv.xslt +++ b/xslt/xml2manualcsv.xslt @@ -177,100 +177,84 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -291,25 +275,21 @@ - - - - + + - + - - - - + + - + @@ -367,6 +347,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -393,11 +399,11 @@ - + - + @@ -477,23 +483,23 @@ - + - + - + - + - + @@ -510,27 +516,17 @@ - - - - - - - - + + + - - - - - - - - + + + @@ -543,7 +539,7 @@ - + @@ -558,7 +554,7 @@ - +