Subject: Re: [xsl] outputting unknown amount of child elements From: David Elsmore <delsmore@xxxxxxxxxxxxx> Date: Mon, 09 Feb 2004 12:27:15 +0000 |
This is what recursion is for. In your template that matches "item" output the value of the first text node "text()[1]", then apply-templates again. That will call the "item" template again. Your transformer will automatically stop processing when the source document runs out of "item" elements.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] outputting unknown amount, cknell | Thread | Re: [xsl] outputting unknown amount, Jeni Tennison |
RE: [xsl] converting flat xml data , Michael Kay | Date | Re: [xsl] outputting unknown amount, Jeni Tennison |
Month |