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

Re: returning nodes which have a specific child

Subject: Re: returning nodes which have a specific child
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Fri, 3 Jul 2009 18:52:43 +0530
Re:  returning nodes which have a specific child
On Fri, Jul 3, 2009 at 6:36 PM, Michael Sokolov<sokolov@xxxxxxxxxxxx> wrote:
> including the
> bizarre conceit that attribute *nodes* are not matched by the 'node()' test
> (perhaps some other name would have been more appropriate?).

I am not aware of the discussions, that went amongst the WG members,
when XSLT 1.0/XPath 1.0 was designed.

But I think,
Calling attributes as "nodes" is ok. As attributes are modeled similar
to other kinds of nodes. They have name, value, parent etc.

Attributes can be referred as @* while other kinds of nodes with
node() and so on.

I find this design ok :)


-- 
Regards,
Mukul Gandhi

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-2007 All Rights Reserved.