SAX: How to get hold of character references

Jan van Mansum

Usenet Archive
Joined
Jun 5, 2004
Messages
9
Reaction score
0
Hello group,

I have the following problem. I am trying to write an XSLT source code formatter as an exercise. My problem is that the parser (Xalan in my case) expands the character references (such as for a newline). However, I would my source code formatter to keep the character reference unchanged. I know how to solve this problem for entity references, but I don't know if there is a way to get hold of the character references used.

Thanks in advance,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top