xsl-list
[Top] [All Lists]

Re: [xsl] Using attributes with XPath

2006-08-24 09:06:39
On 8/24/06, Mike Ferrando <mikeferrando(_at_)yahoo(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--