Subject: RE: [xsl] Matchin elements in text nodes From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 23 Jan 2001 00:09:03 -0000 |
> <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> > ... > > <xsl:template match="article"> > <xsl:value-of select="text()"/> Unless you have set <xsl:strip-space>, text() here will select the first text node, which is the whitespace preceding the <article_id> tag. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Matchin elements in text , David Carlisle | Thread | Re: [xsl] Matchin elements in text , mika . borner |
[xsl] newbie questions (calculating, Mazza, Glen | Date | [xsl] Re: Could the value of the se, SFYang |
Month |