Subject: Re: [xsl] Re: quick [but difficult] Xpath Question From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 23 Aug 2002 16:34:43 -0400 |
Good luck, Wendell
Hello:
I need an XPath statement which will return the first node found in the document, where the element's local-name() = 'XX'. The node can be anywhere in the source tree. I've tried all sorts of different statements but they either result too many records [ I just need the fist "hit"] or no records at all.
I only need the first node, not all the nodes. and the name of the element is only known at runtime. This Xpath will be inside an XSLT file which acts as a "find command", displaying the first node found in the document.
Thanks in advance
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
====================================================================== 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 -> |
---|---|---|
RE: [xsl] Re: quick [but difficult], Robert Koberg | Thread | Re: [xsl] Re: quick [but difficult], Thomas B. Passin |
RE: [xsl] Re: quick [but difficult], Robert Koberg | Date | Re: [xsl] Re: quick [but difficult], Thomas B. Passin |
Month |