Re: Passing element nodes through string functions (WAS RE:
Your solution to grouping where an element overlaps two groups is impressive, but how would you handle the case where a text node (with two newlines) overlaps three groups? It seems like the looping concept breaks down maybe our posts crossed but i think the version I posted yesterday works in that case doesn't it? My test case (in the post) had two newlines: <page> <bodytext>This is the <link url="zzz">link</link> xxx <---1--- This is another line <---2--- and a <link url="zzz">link2</link> 2nd and a third</bodytext> </page> David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ 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