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

Archives of team4xt (now merged with list4xt).

[team4xt] Re: FAQ 4xt

Subject: [team4xt] Re: FAQ 4xt

User: Website

From: Paul Tchistopolskii (pault12@pacbell.net)
Date: 20/04/2000 - 14: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.

--
Private list of the "Team 4 XT" team4xt@4xt.org ()
(mailto:team4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)



Archive generated by hypermail 2b28 on 02/06/2000 - 03:10 EDT

webmaster@4xt.org