Re: [xml] Why xmlReadFile cannot get all content of my xml?

On Fri, Nov 05, 2010 at 11:32:56AM +0800, zuding, li wrote:
Hi Guys,

I used xmlReadFile operation to parser a xml file responded from microsoft
analsys sevices, the file contains both DTD(format defination) & data
content. But I find xmlReadFile can not successfully identify the DTD
content within the XML file.

Your idea is very appreciated!

Thanks :)

PS: XML file & my code.
1. The XML file:
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="";

  SOAP doesn't have DTD, it actually "forbids" use of DTD or internal
subset, I think you're confused about terminology and how SOAP or
DTD validation is supposed to work.


Daniel Veillard      | libxml Gnome XML XSLT toolkit
daniel veillard com  | Rpmfind RPM search engine | virtualization library

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]