From edeb0a2727dd9ca6fea0ba95dd87a48601da1304 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 27 Jul 2007 01:40:30 -0400 Subject: add obt_parse_tree_from_root and use it, cuz it's nice --- obt/parse.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'obt/parse.c') 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); -- cgit v1.2.3