Method Web.RDF()->parse_xml()


Method parse_xml

Web.RDF parse_xml(string|Parser.XML.NSTree.NSNode in, void|string base)

Description

Adds the statements represented by the string or tree in to the RDF domain. If in is a tree the in-node should be the RDF node of the XML serialization. RDF documents take its default namespace from the URI of the document, so if the RDF document relies such ingenious mechanisms, pass the document URI in the base variable.