Re: [xml] attributes

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 Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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