[libxml-devel] How to expand entities?
Hi, How can I expand the entities in a document using this library? Thanks, Matt ___ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel
Re: [libxml-devel] How to expand entities?
How can I expand the entities in a document using this library? Globally: XML.default_substitute_entities = true Per parse run (only for 0.9.8 and higher): parser = XML::Parser.string('...', :options => XML::Parser::Options::NOENT) doc = parser.parse See the rdocs for all the other parser