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

RE: attribute nodes

Subject: RE: attribute nodes
From: "Christopher R. Maden" <crism@xxxxxxxxx>
Date: Sat, 05 May 2001 13:12:20 -0700
RE:  attribute nodes
At 12:03 5-05-2001, Michael Fitzgerald wrote:
I'm not trying to solve any big problems here -- it just seems odd that a
node is not a child node because of its label.

That's what I thought. I certainly have no quarrel with curiosity.


I also think it is
interesting that because an attribute is always a leaf, it can be neither a
parent or a child.  Are there other examples of such "bobbles" on trees or
is it common in data models to have semi-nodes? I trow not.

Not common, I don't think, but attributes aren't unique in this sense in the XPath data model; namespace nodes have the same quirk. Element, PI, comment, and text nodes all are children of their parents, and the root node has no parent.


Nonetheless,
this is not dangerous nor does it ever seem difficult to process attribute
nodes. It is merely amusing.

(-:


-Chris
--
Christopher R. Maden, XML Consultant
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA


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.