API:EPrints/XML/LibXML
Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki
Contents
NAME
EPrints::XML::LibXML - LibXML subs for EPrints::XML
DESCRIPTION
This module is not a package, it's a set of subroutines to be loaded into EPrints::XML namespace if we're using XML::LibXML
parse_xml_string
$doc = parse_xml_string( $string )
Create a new DOM document from $string.
parse_xml
$doc = parse_xml( $filename [, $basepath [, $no_expand]] )
Parse $filename and return it as a new DOM document.
event_parse
event_parse( $fh, $handler )
Parses the XML from filehandle $fh, calling the appropriate events in the handler where necessary.
dispose
dispose( $node )
Unused
clone_node
$node = clone_node( $node [, $deep] )
Clone $node and return it, optionally descending into child nodes ($deep).
clone_and_own
$node = clone_and_own( $node, $doc [, $deep] )
Clone $node and set its owner to $doc. Optionally clone child nodes with $deep.
document_to_string
$string = document_to_string( $doc, $enc )
Return DOM document $doc as a string in encoding $enc.
make_document
$doc = make_document()
Return a new, empty DOM document.
make_document_fragment
$doc = make_document_fragment( $session )
Return a new, empty DOM document fragment.