Re: [xml] DTDs and null SystemID/ExternalID ?
- From: Stefan Jeglinski <jeglin 4pi com>
- To: xml gnome org
- Subject: Re: [xml] DTDs and null SystemID/ExternalID ?
- Date: Fri, 13 Jul 2007 12:48:16 -0400
> I think you've already answered by saying that the ParseDTD functions
are only for external subsets.
Well that's by definition, if you can parse the DTD independantly
of a containing document that means you're loading a DTD file and
hence what would be an external subset if referenced.
I need to be more careful with my use of the term "parse", since it
is very specific for xml. :-)
I didn't expect xmlIOParseDTD to create the DTD node in the tree (but
to develop relatively simple external subsets programmatically).
Use xmlNewDTD and move the child nodes of what you obtained by parsing
the external subset.
This worked fine, thanks for the help.
Stefan Jeglinski
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]