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 options you can use.
Charlie
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ libxml-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/libxml-devel
