Re: [xml] Newbie default value problem



On Tue, Jan 28, 2003 at 03:07:59PM +0100, Thomas Burgess wrote:
Hi list,
I'm having some problems with getting the default values for my 
attributes, can you do such a thing? how?
[...]
my problem is to get "dummy" from the dtd and I couldn't find any way to 
do this in the api docs.

  libxml does *not* load the DTD by default.
See the loaddtd and dtdattrs switches in xmllint.c sources file
and xmlLoadExtDtdDefaultValue global variable initialization to
do so.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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