XpathValue — Returned by XPath eval() function.
class XpathValue : : public RefCountedWrappedObjectSernaApi::RefCountedWrappedObject { public: // construct/copy/destruct XpathValue(const SString &); XpathValue(double); XpathValue(bool); XpathValue(const XpathNodeSet &); XpathValue(SernaApiBase * = 0); ~XpathValue(); // public member functions SString getString() const; double getDouble() const; XpathNodeSet getNodeSet() const; bool getBool() const; void setString(const SString &) ; void setDouble(double) ; void setBool(bool) ; void setNodeSet(const XpathNodeSet &) ; void 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.