Hi,
technically you can't distinguish an " " from the character it
represents. So assuming you don't search literally for
'&'+'n'+'b'+'s'+'p'+';', you could try something like this:
<if test="contains (., '   ')">
do something
</if>
  and both describe the same Unicode codepoint, the 0xA0
non-breaking space.
Replacing can be done recursively. See
<http://www.dpawson.co.uk/xsl/sect2/replace.html> for examples.
Best,
Manuel
Marroc schrieb:
Hi all,
I have input XHTML that uses to lay out the page. I've searched and
found discussions of using and generating in the output document but,
how do I detect it in the input?
I have them in sets of three before the expand/collapse images in a book as
follows:
<img>
<img>
<img>
<img>
<img>
I'd like to detect each group of three and convert it to a spacer image.
Thanks in advance,
Richard
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--