Re: [xml] attributes
- From: Daniel Veillard <veillard redhat com>
- To: Stefan Seefeld <seefeld sympatico ca>
- Cc: xml gnome org
- Subject: Re: [xml] attributes
- Date: Fri, 23 Aug 2002 20:04:43 -0400
On Fri, Aug 23, 2002 at 03:20:55PM -0400, Stefan Seefeld wrote:
hi there,
what is the suggested method to obtain all attributes for
a given node (in particular in the light of all the complexity
of looking up default values, if a schema is known, etc.) ?
Walk up the node->properties list ... and lookup the DTD
for possibly defaulted values. Look at xmlGetProp() code
to get an idea.
There is no generic routine for this ATM,
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]