Thread

Posted on Thu Apr 7 23:28:56 2005 by shlomif
Custom DTD Location or Content
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
Direct Responses: 314 | Write a response
Posted on Fri Apr 8 17:55:23 2005 by eserte in 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.
Write a response