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

Re: XPath Data Model

Subject: Re: XPath Data Model
From: Mike Brown <mike@xxxxxxxx>
Date: Sat, 14 Jun 2003 10:05:12 -0600 (MDT)
xpath visualization
Fatih TURKMEN wrote:
> In XPath Data model,
> when an element has a namespace declaration, all
> descendant element nodes have this namespace node as a
> child. For example, if an element node has a namespace
> declaration, and one of its element children(say
> current to this node) also has a namespace
> declaration, then current's element children have two
> namespace children?

Namespace nodes, like attributes, are not "children" of elements. Namespace
nodes are not inherited by parent elements but are inherited by children, yes.
You should use an XPath visualization tool to understand the model better. I
have one, Dimitre has one, G. Ken Holman has one, XML SPY comes with one... as
do a lot of other XML editors.

Mine is just a stylesheet that generates plain text:
  http://skew.org/xml/stylesheets/treeview/ascii/

I also have one that generates HTML+CSS:
  http://skew.org/xml/stylesheets/treeview/ascii/

Ken's produces plain text in outline format:
  http://www.cranesoftwrights.com/resources/showtree/

For more featureful applications, do a Google search for XPath visualizer or
XPath visualization.



 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.