Subject: Re: [xsl] using normalize-space with mixed element content From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 09 Jun 2010 00:10:53 +0100 |
If you want to treat the first / last text nodes of article-title, no matter how deep they are nested in other elements:
<xsl:template match="article-title//text()[ generate-id() eq ( for $t in ancestor::article-title//text() return generate-id($t) )[last()] ]"
<xsl:template match="article-title//text()[ . is(ancestor::article-title//text())[last()] ]"
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] using normalize-space wit, Imsieke, Gerrit, le- | Thread | Re: [xsl] using normalize-space wit, David Carlisle |
Re: [xsl] using normalize-space wit, Imsieke, Gerrit, le- | Date | [xsl] using normalize-space with mi, Lynn Murdock |
Month |