Subject: Re: Passing element nodes through string functions (WAS RE: Preserving inline elements when using string functions)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 29 Aug 2003 10:04:31 +0100
|
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
| Current Thread |
|
Michael Kay - Tue, 26 Aug 2003 17:13:32 -0400 (EDT)
|
|