class CFPropertyList::LibXMLParser
def load(opts)
* :file - The filename of the file to load
opts::
read a XML file
def load(opts) if(opts.has_key?(:file)) then doc = LibXML::XML::Document.file(opts[:file],:options => LibXML::XML::Parser::Options::NOBLANKS|LibXML::XML::Parser::Options::NOENT) else doc = LibXML::XML::Document.string(opts[:data],:options => LibXML::XML::Parser::Options::NOBLANKS|LibXML::XML::Parser::Options::NOENT) end root = doc.root.first return import_xml(root) end