|
Subject: Re: [xsl] normalize-space and the identity template From: iwanttokeepanon <iwanttokeepanon@xxxxxxxxx> Date: Wed, 5 May 2010 13:39:07 -0500 |
> So, text()[not(following-sibling::node())] may match the last text
> element. You could use normalize-spaces but that will also
> remove leading spaces.
prefix the text() with a char and substring from the 2nd position.
substring(normalize-space(concat('X', text())), 2)
That's an old trick I've seen here alot. It will save at least 1 leading space.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] normalize-space and the i, Liam R E Quin | Thread | [xsl] text() function in XPath 2, Sara Mitchell |
| Re: [xsl] text() function in XPath , Florent Georges | Date | [xsl] XSLT/XPath compliant implemen, robert |
| Month |