[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] understanding trees
hi all, these are probably faqs, but i *have to* understand this... 0. what is the difference between 'child' and 'descendant'? is it right to presume that a child-node is the first node that stems from some parent node while 'descendants' denote all the nodes that stem from some parent? 1. what is the content of an element node? the spec says that 'The *value* of an element node is the string that results from concatenating all characters that are descendants of the element node in the order in which they occur in the document.' so, if 'The children of an element node are the element nodes, comment nodes, processing instruction nodes and text nodes for its content.' what is meant by 'content' then? is there a hierarchical or coordinating relationship between them or are they merely associated nodes? 2. am i right in assuming that 'attribute nodes' and 'namespace nodes' are just associated with element nodes but don't have any *relationship* with them? this must sound *dumb as hell*, but i have to give a presentation on xsl and would like to get (at least) these basic things straight... a. 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
|