Subject: Re: [xsl] compute an xpath expression that match a resulted node From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 15 Oct 2004 15:14:54 -0400 |
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.
<book ISBN= "0-7645-6909-0"> <title>XSLT programmer's reference 3e </title> <author>Michael Kay</author> </book> <book ISBN= "0-7645-6909-1"> <title>XSLT programmer's Guide to British Beers and Ales</title> <author>Michael Kay</author> </book>
Good luck, Wendell
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[@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
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] compute an xpath expression t, Majirus FANSI | Thread | [xsl] [ANN] <oXygen/> XML Editor an, George Cristian Bina |
[xsl] Accessing Dynamic URL for Ima, Joe Heidenreich | Date | Re: [xsl] position and grouping?, Bruce D'Arcus |
Month |