This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: quick [but difficult] Xpath Question
- From: Wendell Piez <wapiez at mulberrytech dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 23 Aug 2002 16:35:52 -0400
- Subject: Re: [xsl] Re: quick [but difficult] Xpath Question
- Reply-to: xsl-list at lists dot mulberrytech dot com
At 04:17 PM 8/23/2002, you wrote:
I only need the first node, not all the nodes. and the name of the element
is only known at runtime.
Ah, so you'll need the form
(//*[local-name=$name])[1]
Cheers,
Wendell
======================================================================
Wendell Piez mailto:wapiez@mulberrytech.com
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
======================================================================
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list