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

Re: a simple question about node tests

Subject: Re: a simple question about node tests
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 22 May 2003 14:13:30 -0400
Re:  a simple question about node tests
Robert,

At 01:20 PM 5/22/2003, you wrote:
  a while back, i read somewhere (can't remember where, darn it)
an explanation of node tests that cleared up a minor confusion
i've had for a while.  to recap first...

Probably here ... I think we rehearsed this issue a couple of months back.


  so what exactly does "*" mean?  a while back, i read
that "*" doesn't mean "element" so much as it does "the
primary node type along that axis", which for the child
axis is an element node, for the attribute axis is the
attribute node, etc.

  once i read this, it made perfect sense.  did i read
that correctly?  is that how one should interpret the
"*" node test?

Yes, and yes.


The authoritative reference for all such questions of definition (that is, respecting XPath Location Path syntax) is the XPath 1.0 Recommendation. Find it at http://www.w3.org/TR/xpath. (This issue is covered in section 2.3, "Node Tests".)

In fact, I'd go so far as to say any XSLTer who wants to master the language will eventually find themselves looking at this document and the related XSLT spec, at http://www.w3.org/TR/xslt. (They're really not as scary as they're sometimes made out to be.)

Other resources such as Mike's book _XSLT: A Programmer's Reference_ are also reliable and complete. But there's nothing like the horse's mouth when you really want to know the real deal.

Cheers,
Wendell


====================================================================== 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 ======================================================================


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.