[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Transforming an XML structure into a string
Here's a solution which works ... but can it be done more elegantly?
<xsl:template match="*" mode="entities"><<xsl:value-of select="name()"/><xsl:for-each select="@*"> <xsl:value-of select="name()"/>="<xsl:value-of select="."/>"</xsl:for-each>><xsl:apply-templates mode="entities"/> </xsl:template> Ben Senior wrote: *bang* *bang* *bang* goes my head against the desk.
|
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
|