/*
* call-seq:
* notations
*
* Get a hash of the notations for this DTD.
*/
static VALUE notations(VALUE self)
{
xmlDtdPtr dtd;
Data_Get_Struct(self, xmlDtd, dtd);
if(!dtd->notations) return Qnil;
VALUE hash = rb_hash_new();
xmlHashScan((xmlHashTablePtr)dtd->notations, notation_copier, (void *)hash);
return hash;
}