Re: node vs. element
Hello,An element is a named container for text, graphics, child elements, or whatever.
I'm writing developer documentation, annotating a sample XSLT file. I want
to refer to what the XML spec calls elements, but my SME calls nodes. After
reviewing several sources, I've found that much XSL documentation uses these
terms in a way that appears random. In a single document, I'll see "nodes,"
"elements," and "element nodes." In addition, the "root" is sometimes called
the root, root node, or root element.
A node is an element that is the target of a link. Depending on the
type of Xpointer being used for the link, the node element may or may not
have a value in its ID attribute.
An element node is just a more explicit way of describing a node.
A root node is the element at the highest level of structure (i.e.,
the element that contains as children all the other elements in
| Nullius in Verba |
Dan Emory, Dan Emory & Associates
FrameMaker/FrameMaker+SGML Document Design & Database Publishing
Voice/Fax: 949-722-8971 E-Mail: danemory -at- primenet -dot- com
10044 Adams Ave. #208, Huntington Beach, CA 92646
---Subscribe to the "Free Framers" list by sending a message to
majordomo -at- omsys -dot- com with "subscribe framers" (no quotes) in the body.
Previous by Author:
The Advantage of Text Insets (was: To single source or not?)
Next by Author: Re: Conditional Text (was The Advantage of Text Insets (was: To single source or not?))
Previous by Thread: node vs. element
Next by Thread: Re: node vs. element
Search our Technical Writing Archives & Magazine