Re: XML::LibXML search path for DTDs

Michael Ludwig <[email protected]> Thu, 4 Oct 2012 23:15:27 +0200
Newsgroups gmane.comp.lang.perl.xml
Message-ID <20121004211526.GC1592@Dago>
Roger Pepitone schrieb am 03.10.2012 um 12:33 (-0700):
> I'm having trouble putting everything together with catalogs.
> 
> Is there a simple example along the lines of:
> - Copy-past this into xml/file.xml
> - Copy-past this into dtds/doc.dtd
> - Copy-past this into catalogs/catalog.xml
> - Run this command
> available anywhere?

http://code.activestate.com/lists/perl-xml/8854/

https://mail.gnome.org/archives/xml/2012-May/msg00023.html

$ export XML_CATALOG_FILES=/usr/local/src/libxml2/katalog.xml
$ export XML_DEBUG_CATALOG=1
$ cat $XML_CATALOG_FILES

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">

 <system systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";
  uri="dtd/xhtml1/xhtml1-strict.dtd"/>

 <system systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";
  uri="dtd/xhtml1/xhtml1-transitional.dtd"/>

 <system systemId="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";
  uri="dtd/xhtml11/xhtml11-flat.dtd"/>

</catalog>

Michael
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs