xb_string_append_union ()
void
xb_string_append_union (GString *xpath
,
const gchar *fmt
);
Appends an XPath query into the string, automatically adding the union
operator (|
) if required.
Since: 0.1.2
xb_string_escape ()
gchar *
xb_string_escape (const gchar *str
);
Escapes XPath control sequences such as newlines, tabs, and forward slashes.
Returns
new string that is safe to use for queries.
[transfer full]
Since: 0.1.2