Hi!
Is there any way to set a custom location for the DTD used to validate the XML using XML::LibXML? Better yet is there anyway to specify its content?
Thanks in advance,
Shlomi Fish
Posted on Fri Apr 8 17:55:23 2005
by esertein response to 312
Re: Custom DTD Location or Content
You can use the load_catalog method to load a catalog file which specifies the public/systemid to dtd mapping. For an example of the catalog format, you can probably look at /etc/xml/catalog.