[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

The fundamental differences between XPath and XSLT?

Subject: The fundamental differences between XPath and XSLT?
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Wed, 9 Apr 2008 07:23:51 -0400
 The fundamental differences between XPath and XSLT?
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.