[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Finding another element with the same name as the

Subject: RE: Finding another element with the same name as the current node
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 2 Feb 2001 09:54:14 -0000
RE:  Finding another element with the same name as the
> When you use name() without any arguments, it gives you the name
> (technically the 'expanded name') of the *context node*.

Ooh, a rare mistake from Jeni, I can't resist leaping in with a correction!

name() returns a QName for the node, not an expanded name. An expanded name
consists of a (namespace URI, local name) pair, and there is no defined way
of expressing an expanded name as a string. A QName has the form
[prefix:]local-name; the prefix will be one that corresponds to the
namespace URI, which usually means it will be the same prefix as you used in
your source document.

Mike Kay
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.