[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to create multiple Html files considering att
Sanjaya Liyanage wrote:
Hi all, I want to create multiple Html files considering attribute values in XML. XSLT 2.0 as implemented by Saxon 9, AltovaXML, XQSharp can create multiple output files e.g. <xsl:template match="/"> <xsl:for-each-group select="School/Student" group-by="@age"> <xsl:result-document href="Students-aged-{current-grouping-key()}.xml"> <Students> <xsl:copy-of select="current-group()"/> </Students> </xsl:result-document> </xsl:for-each-group> </xsl:template> -- Martin Honnen --- MVP Data Platform Development http://msmvps.com/blogs/martin_honnen/
|
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
|