If your document doesn't include a DTD, which I suspect, try including a "fake" one. Make it start with <!DOCTYPE whtever SYSTEM "dummy.dtd"> That should trick the parser in XML::Parser into believing that entities are defined, without actually expanding them. That should be what you are looking for.
In reply to Re: XML Twig entities
by mirod
in thread XML Twig entities
by rob50
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |