[xml] xmlParseDTD with input from memory, in Python
- From: "Fred L. Drake, Jr." <fdrake acm org>
- To: xml gnome org
- Subject: [xml] xmlParseDTD with input from memory, in Python
- Date: Tue, 21 Sep 2004 16:26:30 -0400
I'm sorry if this question is answered in the documentation, but I wasn't able
to find it.
I'm interested in validating a document against a seperate DTD (not referenced
from the document itself), and I've found the example in the xmllint source.
The twist, in this case, is that I have the DTD as a string in memory, and
would like to avoid writing it to an external file if I can.
Is there some way to feed xmlParseDTD (or something equivalent) from a string
in memory?
I'm using the Python bindings.
Thanks!
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]