XMLEvent to String for logging



I am using Stax. I have to log any current XMLEvent, when something goes wrong. If I use toSting(), I get something like [Stax Event #1]. Is there any way/tool to get readable and clear String representation of XMLEvent?


No comments:

Post a Comment