Stuff removed from Boolean data type article
The following section was removed from the article Boolean data type:
begin removed text
XML Path Language (XPath 2.0) and XML Query Language (XQuery 1.0) both rely on XML Schema for Boolean data type support. The XML Schema xs:boolean data type supports both true and false Boolean values. XPath and XQuery define a set of rules for calculating the effective Boolean value of expressions.
XPath 1.0 and languages based on it, like XML Stylesheet Language (XSL), also support Boolean data types and implicit calculation of effective Boolean values from non-Boolean expressions.
For more concrete information...
Is this "(A//B/*)" correct?
In the article, there is a statement:
If there are several suitable B elements in the document, this actually returns a set of all their first children. ("(A//B/*)" returns just the first such node.)
As I am new to XPath, I don't dare to rewrite it, but I have a feeling that right form of the expression should be: