Re: [xsl] Using attributes with XPath

Subject: Re: [xsl] Using attributes with XPath
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Thu, 24 Aug 2006 12:40:03 +0530
On 8/24/06, Mike Ferrando <mikeferrando@xxxxxxxxx> wrote:
Attributes do not have parents. Elements can have parents, but
attributes never have parents, children, etc.

There is a subtle point. In XPath data model, attribute nodes have parent (the element to which they are attached). While, attributes of an element node are not child of the element.

Mukul Gandhi

Current Thread