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

Re: [xml] Fetching default DTD attribute values.



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



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