xsl-list
[Top] [All Lists]

[xsl] The fundamental differences between XPath and XSLT?

2008-04-09 04:25:55
Hi Folks,

I have a few questions:

1. An XPath expression operates on one or more in-memory node trees.

   (a) True
   (b) False

2. An XPath expression cannot change an in-memory node tree.  (More
precisely, "Evaluating an XPath expression cannot result in changes to
any in-memory node trees.")

   (a) True
   (b) False

3. XPath can only be used to:
     - navigate through an in-memory node tree
     - retrieve values from the in-memory node tree
     - operate on the values it retrieves (the result of an operation
does not modify the in-memory node tree)

   (a) True
   (b) False

4. An XSLT element operates on one or more in-memory node trees.

   (a) True
   (b) False

5. An XSLT element can change an in-memory node tree.  (More precisely,
"Evaluating an XSLT element can result in changes to one or more
in-memory node trees.")

   (a) True
   (b) False

6. The "in-memory node tree" referenced above is always a "DOM tree."
Thus, for example, (1) is more precisely phrased as: An XPath
expression operates on one or more DOM trees.

   (a) True
   (b) False


Thanks!

/Roger

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>