On 01/11/2007, G. Ken Holman <gkholman(_at_)cranesoftwrights(_dot_)com> wrote:
Then I recommend you change it to the following:
match="s[(ancestor::b[1]//text()[normalize-space()])[last()] >> .]"
... so that you catch text nodes that have non-white-space
characters, or alternatively that you ensure all white-space-only
text nodes are removed from the source tree by either an
<xsl:strip-space> instruction or at invocation.
I'm thinking that with the original proposal any indentation found in
the source tree would allow the <s> to be matched.
you sure?
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--