Author: sandervanderburg
Date: Mon Dec 27 15:52:59 2010
New Revision: 25294
URL: https://svn.nixos.org/websvn/nix/?rev=25294&sc=1

Log:
Added support for lists of service attributes

Modified:
   disnix/dydisnix/trunk/data/services.xsl

Modified: disnix/dydisnix/trunk/data/services.xsl
==============================================================================
--- disnix/dydisnix/trunk/data/services.xsl     Mon Dec 27 15:48:58 2010        
(r25293)
+++ disnix/dydisnix/trunk/data/services.xsl     Mon Dec 27 15:52:59 2010        
(r25294)
@@ -6,7 +6,12 @@
                        <xsl:for-each select="attr">
                                <service name="{...@name}">
                                        <xsl:for-each select="attrs/attr">
-                                               <xsl:element 
name="{...@name}"><xsl:value-of select="*/@value" /></xsl:element>
+                                               <xsl:element name="{...@name}">
+                                                       <xsl:value-of 
select="*/@value" />
+                                                       <xsl:for-each 
select="list/*">
+                                                               <xsl:value-of 
select="@value" /><xsl:text>&#x20;</xsl:text>
+                                                       </xsl:for-each>
+                                               </xsl:element>
                                        </xsl:for-each>
                                </service>
                        </xsl:for-each>
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to