A posteriori validation should now work,
Added --postvalid to tester program
Added xmlDocGetRootElement() to the API,
Daniel
diff --git a/include/libxml/tree.h b/include/libxml/tree.h
index d7c804d..71cd041 100644
--- a/include/libxml/tree.h
+++ b/include/libxml/tree.h
@@ -420,6 +420,7 @@
 /*
  * Navigating
  */
+xmlNodePtr	xmlDocGetRootElement	(xmlDocPtr doc);
 xmlNodePtr	xmlGetLastChild		(xmlNodePtr parent);
 int		xmlNodeIsText		(xmlNodePtr node);
 
diff --git a/tree.h b/tree.h
index d7c804d..71cd041 100644
--- a/tree.h
+++ b/tree.h
@@ -420,6 +420,7 @@
 /*
  * Navigating
  */
+xmlNodePtr	xmlDocGetRootElement	(xmlDocPtr doc);
 xmlNodePtr	xmlGetLastChild		(xmlNodePtr parent);
 int		xmlNodeIsText		(xmlNodePtr node);