Difference between revisions of "API:EPrints/XML/LibXML"

From EPrints Documentation
Jump to: navigation, search
(New page: <!-- Pod2Wiki=_preamble_ This page has been automatically generated from the EPrints source. Any wiki changes made between the 'Pod2Wiki=*' and 'End of Pod2Wiki' comments will be lost. -...)
 
(Removing all content from page)
 
Line 1: Line 1:
<!-- Pod2Wiki=_preamble_
 
This page has been automatically generated from the EPrints source. Any wiki changes made between the 'Pod2Wiki=*' and 'End of Pod2Wiki' comments will be lost.
 
-->{{Pod2Wiki}}{{API:Source|file=EPrints/XML/LibXML.pm|package_name=EPrints::XML::LibXML}}[[Category:API|LibXML]]<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=head_name -->=NAME=
 
'''EPrints::XML::LibXML''' - LibXML subs for EPrints::XML
 
  
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=head_description -->=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
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=item_parse_xml_string -->==parse_xml_string==
 
 
  $doc = parse_xml_string( $string )
 
 
Create a new DOM document from $string.
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=item_parse_xml -->==parse_xml==
 
 
  $doc = parse_xml( $filename [, $basepath [, $no_expand]] )
 
 
Parse $filename and return it as a new DOM document.
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=item_event_parse -->==event_parse==
 
 
  event_parse( $fh, $handler )
 
 
Parses the XML from filehandle $fh, calling the appropriate events in the handler where necessary.
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=item_dispose -->==dispose==
 
 
  dispose( $node )
 
 
Unused
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=item_clone_node -->==clone_node==
 
 
  $node = clone_node( $node [, $deep] )
 
 
Clone $node and return it, optionally descending into child nodes ($deep).
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=item_clone_and_own -->==clone_and_own==
 
 
  $node = clone_and_own( $node, $doc [, $deep] )
 
 
Clone $node and set its owner to $doc. Optionally clone child nodes with $deep.
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=item_document_to_string -->==document_to_string==
 
 
  $string = document_to_string( $doc, $enc )
 
 
Return DOM document $doc as a string in encoding $enc.
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=item_make_document -->==make_document==
 
 
  $doc = make_document()
 
 
Return a new, empty DOM document.
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=item_make_document_fragment -->==make_document_fragment==
 
 
  $doc = make_document_fragment( $session )
 
 
Return a new, empty DOM document fragment.
 
 
<!-- End of Pod2Wiki -->
 
<!-- Pod2Wiki=_postamble_ --><!-- End of Pod2Wiki -->
 

Latest revision as of 15:41, 12 August 2009