[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Angle brackets and string manipulation
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|