Subject: [xsl] get the text value of a following sibling From: Liron <magilam@xxxxxxxxxxxxxxxx> Date: Mon, 13 Nov 2006 15:47:07 +0200 |
Given the following structure: <html> <a href="...">link1</a> <br/> just some text 1 <br/> <a href="...">link2</a> <br/> just some text 2 <br/> <a href="...">link3</a> <br/> just some text 3 <br/> </html>
I want to output this tree to a plain text file that looks like this: link1:just some text1 link2:just some text2 etc..
Right now I'm doing something like this (part of my xsl): <xsl:for-each select="/html/a"> <xsl:value-of select="text()"/> <xsl:value-of select="following-sibling::*[2]/text()"/> </xsl:for-each>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Custom Ordered Lists, Philip Vallone | Thread | Re: [xsl] get the text value of a f, Ronan Klyne |
Re: [xsl] i18n and l10n question, Florent Georges | Date | Re: [xsl] i18n and l10n question, Nico Van Cleemput |
Month |