从项目集检索的字符串值还需要转换为正确的数据类型。
The string value retrieved from the item set also needs to be transformed into the correct data type.
要将布尔值或整数存储到项目集,需要将该值转换为字符串。
To store a boolean value or an integer to the item set, the value needs to be converted to a string.
提供了完整的函数集,因此可以把这些值显式地从一种类型转换为另一种类型,将这种转换作为它们在XPath 2.0中操作的一部分。
A full set of functions is provided so you can explicitly convert these values from one type to another as part of their manipulation in XPath 2.0.
应用推荐