|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: xsl-list Digest 22 Mar 2005 06:10:01 -0000 Iss
----- Original Message -----
From: "Kumar S" <kumar.subscriptions@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, March 22, 2005 2:59 PM Subject: Re: xsl-list Digest 22 Mar 2005 06:10:01 -0000 Issue 364 I'd normally suggets this link as this is a sort of grouping problem: http://www.jenitennison.com/xslt/grouping/muenchian.html but as the information is already grouped and sorted something like this might do: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text"/> <xsl:template match="/"> <xsl:apply-templates select="webapps/applications/application"/> </xsl:template> <xsl:template match="application"> <xsl:text>Name: </xsl:text><xsl:value-of select="name"/><xsl:text> (</xsl:text><xsl:value-of select="id"/><xsl:text>)
</xsl:text> <xsl:apply-templates select="users/user"/> </xsl:template> <xsl:template match="user"> <xsl:text>	</xsl:text><xsl:value-of select="name"/><xsl:text>: </xsl:text><xsl:value-of select="accessrestrictions"/><xsl:text>
</xsl:text> </xsl:template> </xsl:stylesheet> Joe
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








