This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XSLT basics
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] XSLT basics
- From: Jonathan Yue <jonathan at infonox dot com>
- Date: Fri, 19 Oct 2001 10:34:04 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
I am a beginner on XSLT. I read some documents and am not
very clear about these concepts. Please correct me if I
understand it wrong.
1) Element -- The whole thing from start tag and end tag
e.g., <book title="XSLT Programming" date="2001-03-03">XSLT</book>
2) Node
-- A single point on the document tree. Can be any one of an element
node,
attribute node, namespace node, processing instruction node, comment node
or text node.
3) Element node
-- Just the <book></book> part, excluding attributes, text nodes ...
It seems the element includes attributes, text, etc., but the
element node does not. right or wrong?
4) descendant::*
-- includes all element nodes, attribute nodes, text nodes, etc. down
from the current node (in the tree). right or wrong?
Thanks for any comments.
Jonathan
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list