Steve Rosenberry wrote:
Basic problem is that I had to resort to the always infamous
disable-output-escaping to substitute a <br /> for a marker character(s)
in a text() node string. Did I happen upon an actual valid use of
d-o-e, or am I missing better way to do this?
See http://skew.org/xml/stylesheets/linefeed2br/ for an example of using
recursion and XPath's substring functions to split a string on linefeed
characters, producing separate text nodes interspersed with empty 'br'
element nodes.
See also http://skew.org/xml/stylesheets/replace/ for a more generic example.
I think this is also in the FAQ.
Mike
--
Mike J. Brown | http://skew.org/~mike/resume/
Denver, CO, USA | http://skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list