xsl-list
[Top] [All Lists]

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

2007-02-17 10:48:48
u might want to take a look at lmnl

http://www.lmnl.net/

gl, James Fuller

On 2/17/07, Svante Schubert <svante(_dot_)schubert(_at_)gmail(_dot_)com> 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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--