An XPath expression returns one of four datatypes:
These datatypes are usually simple, and with the exception of node-sets, converting between types is usually straightforward. We won't discuss these datatypes in any more detail here; instead, we'll discuss datatypes and conversions as we need them to do specific tasks.
Copyright © 2002 O'Reilly & Associates. All rights reserved.