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 -->
  #3 (permalink)  
Old 04-10-2008
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,953
hi jim,

thanks for the reply

if the DTD is included in the source file
and with either of the xmllint commands

Code:
xmllint --noout --loaddtd file.xml
or

Code:
xmllint --noout --dtdattr file.xml
it works perfectly as expected

but in either of the case, source file needs to be modified which is not possible in my case

So, is there any other way to use the dtd in the command line ( as an external dtd ) and not to alter the source file