[PATCH 1/2] Import NDL form UDDF files

Anton Lundin glance at acc.umu.se
Wed Aug 20 14:42:18 PDT 2014


Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 xslt/uddf.xslt | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt
index c4911c5..1508fb3 100644
--- a/xslt/uddf.xslt
+++ b/xslt/uddf.xslt
@@ -467,6 +467,16 @@
               </xsl:call-template>
             </xsl:attribute>
           </xsl:if>
+
+          <xsl:if test="nodecotime|u:nodecotime|u1:nodecotime > 0">
+            <xsl:attribute name="ndl">
+              <xsl:call-template name="timeConvert">
+                <xsl:with-param name="timeSec">
+                  <xsl:value-of select="nodecotime|u:nodecotime|u1:nodecotime"/>
+                </xsl:with-param>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:if>
         </sample>
       </xsl:for-each>
     </dive>
-- 
1.9.1



More information about the subsurface mailing list