summaryrefslogtreecommitdiff
path: root/obt/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'obt/parse.c')
-rw-r--r--obt/parse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/obt/parse.c b/obt/parse.c
index 61fe5b82..741b19e1 100644
--- a/obt/parse.c
+++ b/obt/parse.c
@@ -304,6 +304,11 @@ void obt_parse_tree(ObtParseInst *i, xmlNodePtr node)
}
}
+void obt_parse_tree_from_root(ObtParseInst *i)
+{
+ obt_parse_tree(i, i->root->children);
+}
+
gchar *obt_parse_node_string(xmlNodePtr node)
{
xmlChar *c = xmlNodeGetContent(node);