[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: Eric van der Vlist (vdv@dyomedea.com)
Date: 20/04/2000 - 15:11


Dave,

There is a very simple way to do it which is to generate a simple XSLT
stylesheet which is keeping only the node to find and to process your
document with it...

Otherwise, you need a XPATH implementation more than a XSLT processor.

The XT XPATH implementation is not documented and I have never used
it...

Paul has pointed me to a XPATH implementation on top of XT which you may
want to check (http://www.246.ne.jp/~kamiya/pub/XPath4XT.html).

Other XSLT processors have a documented XPATH API (it's the case with
Xalan for example).

This is an interesting subject, please keep us posted !

Eric

Dave Pawson wrote:
>
> OK here goes.
>
> 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.
>
> 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.
>
> Use case. An application using XML source (text) document,
> SMIL links to audio (.wav) of same source. User queries, of
> the nature 'move up one level', find next section etc etc,
> will be converted into xpath statements. the response from
> the system needs to then either report an error or return
> the node/nodelist/text from the query.
>
> Hierarchy as I see it
>
> my-app
> query layer | SMIL interface | audio access
> dom(or other) interface | xpath parse interface
>
> Application (version is pre xml) is at www.daisy.org
>
> Am I talking sense? Can it be done?
> (more to come)
>
> In hope, DaveP
>
>
>
> --
> Private list of the "Team 4 XT" team4xt@4xt.org ()
> (mailto:team4xt-request@4xt.org?Subject=unsubscribe to unsubscribe)

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
creator                  http://xmlfr.org            http://ducotede.com
editor                   http://xmlhack.com              http://dmoz.org
------------------------------------------------------------------------

-- 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