Re: [xsl] XML overlap - processing a node-set defined by <start/> and <end/>

Subject: Re: [xsl] XML overlap - processing a node-set defined by <start/> and <end/>
From: "James Fuller" <james.fuller.2007@xxxxxxxxx>
Date: Sat, 17 Feb 2007 18:48:24 +0100
u might want to take a look at lmnl

http://www.lmnl.net/

gl, James Fuller

On 2/17/07, Svante Schubert <svante.schubert@xxxxxxxxx> wrote:
Imagine XML data, where continuous selection of data - randomly made by
the user - is being marked by using a <start/> and <end/> element.

For example:

<ex:paragraph>
    <ex:START/>
    <ex:span>
        Some text C..
    <ex:span>
</ex:paragraph>
<ex:paragraph>
    Some text D..
    <ex:END/>
    <ex:span>
        Some text F..
    <ex:span>
</ex:paragraph>


The desired nodes would be <ex:span> Some text C.. <ex:span> Some text D..

Is there an easy way to process this kind of selection with XSLT?

Best regards,
Svante

Current Thread