xsl-list
[Top] [All Lists]

compute an xpath expression that match a resulted node

2004-10-15 10:21:17
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 id="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

_________________________________________________________________
Recevez par e-mail des émoticônes pour MSN Messenger http://g.msn.fr/FR1001/2275?url=http://www.msn.fr/ilovemessenger/premium/Default.asp?Ath=f



<Prev in Thread] Current Thread [Next in Thread>