Commit in www-lcsim/xsl on MAIN
detector_info.xsl+16added 1.1
stylesheet for extracting info elements from detectors

www-lcsim/xsl
detector_info.xsl added at 1.1
diff -N detector_info.xsl
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ detector_info.xsl	8 Jun 2010 00:02:12 -0000	1.1
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <xsl:template match="/lccdd">
+        <xsl:for-each select="info">
+            <info>
+                <xsl:attribute name="name"><xsl:value-of select="@name"/></xsl:attribute>
+                <xsl:attribute name="title"><xsl:value-of select="@title"/></xsl:attribute>
+                <xsl:attribute name="url"><xsl:value-of select="@url"/></xsl:attribute>
+                <xsl:attribute name="status"><xsl:value-of select="@status"/></xsl:attribute>
+                <xsl:attribute name="version"><xsl:value-of select="@version"/></xsl:attribute>
+                <xsl:attribute name="author"><xsl:value-of select="@author"/></xsl:attribute>
+                <comment><xsl:value-of select="comment"/></comment>
+            </info>
+        </xsl:for-each>
+    </xsl:template>
+</xsl:stylesheet>
CVSspam 0.2.8