Subject: [xsl] XSLT program outputs a series of items, how to insert newlines between each item? From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 25 Jun 2020 13:11:33 -0000 |
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>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Function that reduces the, Roger L Costello cos | Thread | Re: [xsl] XSLT program outputs a se, Martin Honnen martin |
Re: [xsl] Function that reduces the, Michael Kay mike@xxx | Date | Re: [xsl] XSLT program outputs a se, Martin Honnen martin |
Month |