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

RE: XML DOM Q: understanding namespace nodes

Subject: RE: XML DOM Q: understanding namespace nodes
From: Khun Yee Fung <kyeefung@xxxxxxxxxx>
Date: Fri, 17 Dec 1999 12:02:47 -0500
dom q
Just modified the code to show elements with all namespaces in effect. I
even inserted an instance variable so that whether a namespace node is a
real attribute of an element is preserved. I guess it is important for a
learning tool to show the trees according to the XPath spec. Of course,
showing correct results is the most important attribute of a learning tool.
Well, the tool is still VERY far from that...

Khun Yee

		-----Original Message-----
		From:	Kay Michael [mailto:Michael.Kay@xxxxxxx]
		Sent:	Friday, December 17, 1999 5:21 AM
		To:	'xsl-list@xxxxxxxxxxxxxxxx'
		Subject:	RE: XML DOM Q: understanding namespace nodes

		> My interpretation of 
		> http://www.w3.org/TR/xpath#namespace-nodes is that
		> every element that is a descendant of an element where a
namespace is
		> declared will contain an identical namespace node for that

		> prefix/namespace combo that is in scope. They are kind of
like attributes
		that 
		> are inherited, and are separate from the namespace URI
found in the 
		> expanded-name of the element.
		> 
		Yes, you are correct (subject to minor details about
namespaces being
		redefined, etc). Of course, this is a conceptual model: the
implementation
		isn't required to implement the tree in this way.

		Mike Kay


		 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.