[xsl] Childnodes on separate lines

Subject: [xsl] Childnodes on separate lines
From: Martijn Kint <martijn@xxxxxxxxxx>
Date: Mon, 08 Nov 2004 14:46:34 +0100
Hi,

I was wondering if there is a way to insert line breaks after each processed childnode, take the example below:

XML file:
<artnrs>
<artno0>807207</artno0>
<artno1>807205</artno1>
<artno2>807211</artno2>
<artno3>807213</artno3>
<artno4>807208</artno4>
<artno5>807203</artno5>
<artno6>807209</artno6>
<artno7>807202</artno7>
<artno8>807206</artno8>
<artno9>807204</artno9>
<artno10>807201</artno10>
<artno11>807200</artno11>
<artno12>807212</artno12>
<artno13>807210</artno13>
</artnrs>

If I process these with the following snippet from my stylesheet

XSL:
<fo:block padding-top="1mm">
 <xsl:value-of select="artnrs[*]"/>
</fo:block>

Im getting this as a result:
807207 807205 807211 807213 etc etc.

But I want to get the following result:

807207
807205
807211
807213
etc
etc.

btw, i'm converting XML to PDF, so its actually xsl:fo if that matters at all :)

Kind regards,
Martijn
--

Current Thread