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

RE: Matching Attributes with @

Subject: RE: Matching Attributes with @
From: John Robert Gardner <jrgardn@xxxxxxxxx>
Date: Fri, 26 May 2000 14:42:06 -0400 (EDT)
john robert gardner
On Fri, 26 May 2000, Kay Michael wrote:

> Confusion upon confusion!
> 
> > On Fri, 26 May 2000, Paulo Gaspar wrote:
> > > > 
> > > Each element node can have 2 basic types of descendent nodes:
> > >  - Content;
> > >  - Attributes.
> 
> Paulo wrote wrong. Attributes are not descendents of the element they belong
> to, in the technical sense of the word.
> > 
> > I remember a comment some time ago on this . . . that attributes are
> > descendents . . . wouldn't they be children? -- of their containing
> > element node, or context element node.  So the element can 
> > have attribute
> > children.  ...  So @ are children, but those children do not have parents?
> 
> > 
> 
> Actually, you've come to exactly the opposite of the truth. An element is
> the parent of its attributes, but the attributes are not children of the
> element.

Thanks Michael.  I couldn't make it work with what was written, so I
thought I should extend the logic and check with the list on it.  Now that
I read it, it makes perfect sense.  As I was writing, I couldn't make it
work in my head so thought I'd check.

Saadhu!

=-=-=-=-=-=-=-=-=-==-=-=-=
John Robert Gardner, Ph.D.
XML Engineer
Emory University
------------------------------------------------------------
http://vedavid.org/diss/
"There is a difference between knowing The Path, and walking the Path."
					-Lawrence Fishburn/Morpheus


> 
> And if that seems absurd, just substitute some non-biological words like
> "controller" and "component" for "parent" and "child", and it doesn't seem
> so bad.
> 
> Mike K
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.