Subject: Re: [xsl] Childnodes on separate lines From: Martijn Kint <martijn@xxxxxxxxxx> Date: Mon, 08 Nov 2004 15:02:58 +0100 |
thanks David that works! :)<fo:block padding-top="1mm"> <xsl:value-of select="artnrs[*]"/> </fo:block>
that takes the string value of the artnrs element, ie the concatenation of the character data of all its descendants. In particular it throws away the information that you had all those child elements.
You want an fo:block for each child so change the above lines to
<xsl:apply-templates select="*"/>
and have
<xsl:template match="artnrs/*"> <fo:block padding-top="1mm"> <xsl:value-of select="."/> </fo:block> </xsl:template>
David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Childnodes on separate li, David Carlisle | Thread | [xsl] Need a programmic way to read, Bill Riegel |
[xsl] Need a programmic way to read, Bill Riegel | Date | Re: [xsl] Conditional extraction of, Bryan Rasmussen |
Month |