Top | ![]() |
![]() |
![]() |
![]() |
GPtrArray * | xb_node_query () |
GPtrArray * | xb_node_query_full () |
XbNode * | xb_node_query_first () |
const gchar * | xb_node_query_text () |
guint64 | xb_node_query_text_as_uint () |
const gchar * | xb_node_query_attr () |
guint64 | xb_node_query_attr_as_uint () |
gchar * | xb_node_query_export () |
GPtrArray * xb_node_query (XbNode *self
,const gchar *xpath
,guint limit
,GError **error
);
Searches the silo using an XPath query, returning up to limit
results.
It is safe to call this function from a different thread to the one that created the XbSilo.
Please note: Only a subset of XPath is supported.
Since: 0.1.0
GPtrArray * xb_node_query_full (XbNode *self
,XbQuery *query
,GError **error
);
Searches the silo using an prepared query.
It is safe to call this function from a different thread to the one that created the XbSilo.
Please note: Only a subset of XPath is supported.
Since: 0.1.4
XbNode * xb_node_query_first (XbNode *self
,const gchar *xpath
,GError **error
);
Searches the node using an XPath query, returning up to one result.
Please note: Only a tiny subset of XPath 1.0 is supported.
Since: 0.1.0
const gchar * xb_node_query_text (XbNode *self
,const gchar *xpath
,GError **error
);
Searches the node using an XPath query, returning up to one result.
It is safe to call this function from a different thread to the one that created the XbSilo.
Please note: Only a subset of XPath is supported.
Since: 0.1.0
guint64 xb_node_query_text_as_uint (XbNode *self
,const gchar *xpath
,GError **error
);
Searches the node using an XPath query, returning up to one result.
It is safe to call this function from a different thread to the one that created the XbSilo.
Please note: Only a subset of XPath is supported.
Since: 0.1.0
const gchar * xb_node_query_attr (XbNode *self
,const gchar *xpath
,const gchar *name
,GError **error
);
Searches the node using an XPath query, returning up to one result.
It is safe to call this function from a different thread to the one that created the XbSilo.
Please note: Only a subset of XPath is supported.
Since: 0.1.0
guint64 xb_node_query_attr_as_uint (XbNode *self
,const gchar *xpath
,const gchar *name
,GError **error
);
Searches the node using an XPath query, returning up to one result.
It is safe to call this function from a different thread to the one that created the XbSilo.
Please note: Only a subset of XPath is supported.
Since: 0.1.0
gchar * xb_node_query_export (XbNode *self
,const gchar *xpath
,GError **error
);
Searches the node using an XPath query, returning an XML string of the result and any children.
It is safe to call this function from a different thread to the one that created the XbSilo.
Please note: Only a subset of XPath is supported.
Since: 0.1.0