xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

XPaths made up of values of nodes specified by other XPaths


Subject: XPaths made up of values of nodes specified by other XPaths
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Mon, 1 Nov 1999 15:45:58 -0500

Has anyone come up with a way of using an XPath, part of which is found by
taking the value of a node specified by another XPath? In particular, using
an extension function rather than variable assignment.

Say I have the following document:

<A>
    <B C="E/F"/>
    <D>
        <E>
            <F>JACKPOT!</F>
        </E>
    </D>
</A>

and I want to reference the F as /A/D/[whatever the value of /A/B/@C is]

I'd like to be able to do something like:

    /A/D/foo("/A/B/@C")

Is such an extension function feasible?

James


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor