XpathValue — Returned by XPath eval() function.
class XpathValue : (RefCountedWrappedObjectSernaApi::RefCountedWrappedObject) : # construct/copy/destruct __init__(const SString &) __init__(double) __init__(bool) __init__(const XpathNodeSet &) __init__(SernaApiBase * = 0) __del__() # public member functions SString getString() const double getDouble() const XpathNodeSet getNodeSet() const bool getBool() const None setString(const SString &) None setDouble(double) None setBool(bool) None setNodeSet(const XpathNodeSet &) None notifyChanged()
It can represent four basic types (string, double, bool, node-set), as described in XPath specification.
XpathValue
public member functionsSString getString() const
Get xpath value as string.
Get xpath value as double.
XpathNodeSet getNodeSet() const
Get xpath value as nodeset.
Get xpath value as boolean.
Set xpath value as string.
Set xpath value as double.
Set xpath value as boolean.
Set xpath value as nodeset.
Force value change notification. This is intended primarily for the user-defined XSLT functions, which must notify XSLT about change of their return value.