Arijit Das wrote: > Am a novice with libxml2. So, needed a help on something which I > believe could be a basic question for lot. > > I need to make sure whenever I evecute xmlGetProp(...), it picks the > default/fixed attribute value (if no explicit attr value has been > specified) from the dtd. > > But its not doing that. > > Would anybody be able to show me the right API for achieving this?
Check the parse options enum. There's one for loading the DTD and one for applying default attributes. Stefan _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
