Subject: Re: Passing element nodes through string functions (WAS RE: Preserving inline elements when using string functions)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 26 Aug 2003 23:41:42 +0100
|
> I suppose this is probably more helpful...
If there are two newlines in a single text node the posted soln doesn't
work as it just does a single substring-before/after, you need to
recurse to find them all, but within a single text node you just have a
plain string with no elements in the way so you can handle that easily
without having to worry about elements.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|