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

Re: Using attributes with XPath

Subject: Re: Using attributes with XPath
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Thu, 24 Aug 2006 20:15:02 +0530
xpath find attribute
On 8/24/06, Mike Ferrando <mikeferrando@xxxxxxxxx> wrote:
Thus for a beginner in XSLT, my comment about attributes stands. Certainly, it
is more than obvious that an attribute must have some relationship
with the element it stands with, it cannot be floating in space.

The fact is, element may have attributes, and an attribute belongs to an element. How can we model this relationship? Different technologies have taken different view. XPath thinks that attribute is not on the child axis of an element, and on parent axis of attribute we can find the element to which it is tied. That's how the semantics are defined for the XPath data model. I find this perfectly ok.

--
Regards,
Mukul Gandhi

http://gandhimukul.tripod.com

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