Re: [xml] parsing a DTD to get elements and attributes
- From: "Andreas B. Thun" <abt gmx net>
- To: xml gnome org
- Subject: Re: [xml] parsing a DTD to get elements and attributes
- Date: Wed, 19 Feb 2003 10:14:24 +0100
Thx.
Hmm, I can´t still figure out how to get
the descriptions of my DTD elements..
valid.c does not help very much for me.
dtd = xmlParseDTD(NULL, (const xmlChar *) "my.dtd");
...
elem = xmlGetDtdElementDesc(dtd, "MyElementName");
while (elem != NULL)
{
printf("%s\n", elem->content->name);
elem = elem->next;
}
-> CORE DUMP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]