Re: [xml] 3 pb with the xmlTextReader APi from Python



Sorry for the late post, but finally getting back to coding again.

Daniel Veillard wrote:
On Thu, Jan 12, 2006 at 03:46:03PM +0100, Meunier, Jean-Luc wrote:
Pb 1 -  how to process the XML declaration , e.g. <?xml version="1.0"?>
  You can't. It's not made available by the API initially coming from
Microsoft. Similary you can't get into the internal subset or in any
part of the DTD content. You can try to get the xmlDoc from there, but I think you shouldn't
in general.
Actually they are available in .NET. The XML declaration has attributes and the DTD has attributes and a value. I had looked at the XML declaration before and did not see any way to implement it correctly. Have not looked at the DTD though.

Rob



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