Subject: RE: [xsl] Processing only certain nodes in a document fragment From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> Date: Wed, 18 Feb 2004 21:51:49 +0100 |
> -----Original Message----- > From: Glenn MacGregor <snip /> > I need a template which will loop through all the <item> tags and > replace the > "<var/>" tag in the <do> section with CDATA of the current item > tag echoing all > the rest of the do tag to the result (without the <do> tag). > Hi, If you have control over both XML and XSL, I think it would be more 'stylish' to have only the item elements in the source XML, and transform them like: <xsl:template match="foreach/in/item" mode="testrow"> <tr><td><xsl:value-of select="." /></td> ...</tr> </xsl:template> Cheers, Andreas XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Processing only certain n, Rui Alberto L. | Thread | [xsl] intra document link, Nikolas Nehmer |
[xsl] Re: Counting nodes efficientl, Dimitre Novatchev | Date | Re: [xsl] Counting nodes efficientl, Brian Grainger |
Month |