The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-08-2008
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,952
question about XML and DTD

Hi,

Got stuck with this.

I have a xml file which contains entities like "pound", "hellip" since these are non standard entities, xmllint fails to validate the XML file.

So, I created a DTD file with the external entities in place, once the DTD is provided as internal DTD to the XML file, the validation is smooth.

How do I achieve the same result with the DTD as an external one ?

I wont be unable to use internal DTD as I can't change the source file.

Is there any way to pass DTD as argument to xmllint and make the validation smoother ?

I tried with the options of xmllint and other web links but still fighting.

Could you please throw upon some light on this ?

Thanks