David Carlisle wrote:
your regexp is looking for a \r (character 13) in the input, you have to
try pretty hard to get this character into an input document (the
character has to be quoted as a numeric character reference) all common
line ending conventions are normalised to a single character 10 which
you can match with \n.
with the notable exception of unparsed-text(), which does not normalize
line endings at all.
(Which had me trapped sometimes when porting code that worked with input
documents to code that worked with unparsed-text() retrieved documents...)
Cheers,
-- Abel Braaksma
--~------------------------------------------------------------------
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>
--~--