Subject: Re: [xsl] xsl:strip-space and position() From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 08 Mar 2006 08:10:08 -0500 |
In his book, XSLT 2.0, p. 409, Michael Kay mentions two reasons, why it is often nice to use xsl:strip-space. I have problems with the last one: ... I understand this if we use "node()" as part of the XPath expression, implicitly or explicitly, but in all cases, I can think of, when using the position() function, we will always be more specific in order to include the proper elements only.
Could someone give me a realistic markup example of the position() function not working properly if xsl:strip-space is not used?
-- Upcoming XSLT/XSL-FO hands-on courses: Washington,DC 2006-03-13/17 World-wide on-site corporate, govt. & user group XML/XSL training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:strip-space and posit, David Carlisle | Thread | [xsl] Off Topic: [was: Return numbe, Mulberry Technologie |
Re: [xsl] xsl:strip-space and posit, David Carlisle | Date | Re: [xsl] when to use 'as' attribut, tom tom |
Month |