[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Matchin elements in text nodes
Subject: Re: [xsl] Matchin elements in text nodes From: mika.borner@xxxxxxxx Date: Mon, 22 Jan 2001 09:46:34 +0200 |
I still have problems. My sourcefile looks like this: ... <article> <article_id>123456</article_id> <main_heading>heading</main_heading> <article_date>article date</article_date> This is the article text part 1 <sub_heading>sub heading</sub_heading> The article continues. This is part 2 of it </article> ... I tried to match the text node of the article using: <xsl:template match="ARTICLE"> <html> <body> <p> <xsl:value-of select="text()"/> </p> </body> </html> </xsl:template> The "text()"-pattern doesn't return anything. Selecting with "." gives me also the unwanted article_id,main_heading and the article_date. All I want to select is the direct text node under article (This is the article text part , The article continues. This is part 2 of it) Can anybody help? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Matchin elements in text , cutlass | Thread | Re: [xsl] Matchin elements in text , Richard Light |
[xsl] Re: Could the value of the se, Dimitre Novatchev | Date | [xsl] "Improve your XSLT coding fiv, Michael . Rohde |
Month |