|
Home > Online Product Documentation > Table of Contents > Comparing Node Sets Comparing Node SetsYou can compare Two Node Sets
Suppose the objects you want to compare are both node sets. The result is true only in the following case. There is a node in the first node set and a node in the second node set such that the result of performing a comparison on the values of the two nodes is
A Node Set and a Number
Now suppose one object to be compared is a node set and the other is a number. The XPath processor searches for a node in the node set that yields a true result when its number value is compared with the number that is not in the node set. If necessary, the XPath processor uses the
A Node Set and a String
Sometimes you want to compare a node set with a string. The XPath processor searches for a node in the node set that yields a true result when its string value is compared with the string that is not in the node set. If necessary, the XPath processor uses the
A Node Set and a Boolean Value
Finally, suppose you want to compare a node set with a Boolean value. This tests true if and only if the result of performing the comparison on the Boolean value and on the result of converting the node set to a Boolean value using the
|
Using Relational Data in XML Applications
"Using Relational Data in XML Applications" By Dr. Michael Kay covers an overview of several common use cases and provides insight into the benefits and drawbacks of using the approaches available today including XQuery and SQL/XML.
Canonicalize XML
Stylus Studio® features a handy XML canonicalizer among its many XML editing utilities, for quickly and easily converting any XML document into its canonical form (c14n), a widely-used W3C standard for normalizing XML files.
W3C XML Specifications
Learn about the official W3C XML specifications for XML, XSLT, XQuery, XPath, DOM, XML Namespaces, XInclude, XML Base, XPointer, WSDL and more.
Content Management
Build Content Management systems with Stylus Studio's powerful XML publishing tools that enable you to unlock and re-use valuable content from your enterprise information repositories.