|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSLT program outputs a series of items, how to insert
Hi Folks,
My XSLT program has a loop. Each iteration outputs an item. I want each item
on a new line. The following works. Is there a better way to insert newlines
than by using xsl:text with the end tag on the next line? /Roger
<xsl:output method="text" />
<xsl:template match="/">
<xsl:for-each select="//xs:simpleType[@name eq
'DatumCode']//xs:enumeration">
<xsl:value-of select="concat(@value, ' (',
xs:annotation/xs:documentation, ')')/>
<xsl:text>
</xsl:text>
</xsl:for-each>
</xsl:template>
|
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








