[xsl] Tracking entity references

Subject: [xsl] Tracking entity references
From: "Wegmann, Frank frank.wegmann@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Mar 2023 10:22:50 -0000
This may be a very silly question, but I couldn't find an answer on it, with
Saxon, or outside it, using tools relying on expat.

Use case is a set of old XML documents (traditional, inhouse DTD) that make
overly excessive use of entities of all kinds. While it is easy to get all
entity declarations, and also to locate references of external entities, I
could not locate references of text entities. By the time I see it the entity
reference has already been resolved. How can I achieve that (ideally with
line/column of the actual place in the original file or entity)?

I very much hope that I just overlooked something here...

Thanks,
Frank Wegmann
Software AG



Software AG - Sitz/Registered office: Uhlandstra?e 12, 64297 Darmstadt,
Germany - Registergericht/Commercial register: Darmstadt HRB 1562 -
Vorstand/Management Board: Sanjay Brahmawar (Vorsitzender/Chairman), Daniela
B?nger, Joshua Husk, Dr. Benno Quade, Dr. Stefan Sigg -
Aufsichtsratsvorsitzender/Chairman of the Supervisory Board: Christian Lucas -
https://www.softwareag.com

Current Thread