[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSL output method="text" and indent preservation
<!-- myelement --> <xsl:template match="myelement"> <xsl:value-of select="substring-after(preceding::text()[1], '
')" /> <xsl:text>ChildName </xsl:text><xsl:value-of select="childelement"/><xsl:text>
</xsl:text><xsl:apply-templates/> <xsl:text>
</xsl:text> </xsl:template> <!-- childparent --> <xsl:template match="childparent"> <xsl:value-of select="substring-after(preceding::text()[1], '
')" /> <xsl:text>GrandChildName </xsl:text><xsl:value-of select="grandchild"/> <xsl:text>
</xsl:text> </xsl:template> Jarno XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|