Alois Heuboeck wrote:
Gunnar Hjalmarsson wrote:
What if you simply say:

    my $titleText = 'Die Brücke.';

you mean resolving the entities first?

It's a possibility, but at the moment I'd like to see the form of the input as a given. (The script I posted to the list is a simplified test version - in the 'real' script, the text comes from an external file.)

Is there no 'standard' way around this problem?

Reading the docs for the module you are using may be such a "standard way"...

http://search.cpan.org/perldoc?XML%3A%3ADOM#DESCRIPTION

"When using XML::Parser 2.27 and above, you can suppress expansion of parameter entity references (e.g. %pent;) in the DTD, by setting ParseParamEnt to 1 and ExpandParamEnt to 0. See Hidden Nodes for details."

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to