[Home]  [List]  [News]  [Docs]  [FAQ]  [Downloads]  [Resources]  [About]
Search :
/Home /List

list4xt : Mailing list for the XT users community.

[list4xt] Re: XPath query

Subject: [list4xt] Re: XPath query

User: Website

From: Paul Tchistopolskii (pault12@pacbell.net)
Date: 20/04/2000 - 20:58


> Requirement:
>
> 1. To be able to locate, within an xml document, from any
> node of that document, another node,using an xpath statement,
> from a java application.

1. http://www.246.ne.jp/~kamiya/pub/XPath4XT.html

Provides the basics for XPath queries on top of DOM ( And OM )
and the hack itself looks like a 'good thing' ( I have spend
some time debugging it - it looks to be accurate ).

Not sure how easy it will be to use it as-is with 'current node' -
but for sure it provides the API's for it ( there is 'context'
parameter there ).

If I'l need to do anything with Xpath on top of DOM / OM -
I will go with this tool - looks like there is no choice.

> Context. I need access to a parsed document (dom or any other).
> Based on user actions I want to be able to generate a string,
> have it parsed as xpath, then use that parsed string to generate
> the query into the xml document.

I see no problem why this could not be done with XPath4XT.

Rgds.Paul.

PS

Also SAXON for sure has a *lot* of support for things like this.

--
Mailing list for the XT users community.     (http://cebexpo.net)
(mailto:list4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)



Archive générée par hypermail 2b28 le 06/11/2001 - 11:46 CET

webmaster@4xt.org