Re: Using XML::LibXML::SAX::Parser as replacement for XML::LibXML::SAX::Generator

Michael Ludwig <[email protected]>
Newsgroups gmane.comp.lang.perl.xml
Message-ID <20100407210504.GA2720@wladimir>
Kjetil Kjernsmo schrieb am 07.04.2010 um 22:17:33 (+0200):
> But that took ages to run, and I assumed that XML::LibXML::Dtd
> tried to download the resource identified by the system ID...
> Does your code do the same thing? I just want to prefix the
> string... :-)

If it does, you should use a catalog. See "XML CATALOGS" in
XML::LibXML::Parser. Also see "Creating a Parser Instance":

  Unless specified otherwise, the options "load_ext_dtd",
  "expand_entities", and "huge" are set to 1. See "Parser
  Options" for a list of libxml2 parser's options.

-- 
Michael Ludwig
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.