Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns a type cast version of the value of an element.
Syntax
value()
Remarks
If data typing is not supported or a data type is not provided, this method returns the same as text.
For the purposes of comparison, the value method is implied if omitted. In other words, when two items are compared, the comparison operates on the values of the two items. When type information is not specified, the value method returns text.
Examples
The following examples are equivalent:
author[last-name!value() = "Bob" $and$ first-name!value() = "Joe"]
author[last-name = "Bob" $and$ first-name = "Joe"]
price[@intl!value() = "canada"]
price[@intl = "canada"]
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.