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

-- 
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]