|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: exsl:document help
Hi Greg,
<xsl:template match="CCC">That means: for every CCC element, create a document. So the processor will create a file 'a2' containing 'c2', and then immediately overwrite it with a file 'a2' containing 'c3'. In fact you want to create a document for every AAA element: <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
version="1.0"><xsl:template match="/source"> <xsl:apply-templates select="AAA"/> </xsl:template> <xsl:template match="AAA">
<exsl:document href="{@id}" method="text">
<xsl:apply-templates select="BBB/CCC"/>
</exsl:document>
</xsl:template><xsl:template match="CCC"> <xsl:value-of select="."/> <xsl:text>
</xsl:text> </xsl:template> </xsl:stylesheet> Cheers, Anton Greg Schafer wrote: Hello
|
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








