xsl-list
[Top] [All Lists]

compute an xpath expression that match a resulted node

2004-10-15 10:26:54

Hi all,
I have an result fragment named nodeset.
using xslt, Is it possible to determine an xpath expression that match this fragment from a source document.
for example:
$nodeset= <book ISBN= "0-7645-6909-0">
                <title>XSLT programmer's reference 3e </title>
                 <author>Michael Kay</author>
             </book>

an xpath expression is: /descendant-orself::book[(_at_)ISBN='0-7645-6909-0'].

I have the fragment from a variable ($nodeset).
I used xalan 2.1.4 as xslt processor.

all suggestions are welcome.
I thank all of you in advance.

Majirus

_________________________________________________________________
Hotmail : bientôt 250 Mo de stockage ! http://www.imagine-msn.com/hotmail/fr-fr/