loris has asked for the wisdom of the Perl Monks concerning the following question:
Hello folks,
I did ask this a few months ago (see Does XML::Smart::DTD not understand ENTITIES?) and didn't get an answer. However, I am hoping that even if I haven't become any wiser in the intervening time, maybe one of you has.
The question is: How can I get XML::Smart::DTD to read attributes that are defined using ENTITY?
I am doing:
my $dtd = XML::Smart::DTD->new($dtdName,'XML::Parser'); my @attrs = $dtd->get_attrs("Monk");
However, despite give the name of the parser explicity to prevent XML::Smart::Parser (which can't cope with entities) being used, I still can't get the ENTITY-attributes.
Can anyone provide me with entity enlightenment?
Thanks,
|
|---|