Re: XPath Data Model
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format