functions for loading HTML/XHTML + RDFa
+ Dump graph function