I want to show the line and column number any errors that occur during a
transform. Is there an easy way to do this?

I looked at Xalan.exe, which does report this information. But it's not in
the return string from getLastError(), rather, XalanTransformer::transform()
seems to dump this information to cout or cerr. I guessed that this was
being done by the ProblemListener that is part of a XalanTransformer, but
when I call getProblemListnere(), it returns null.

I've browsed around the API docs for ProblemListener and
XalanTransformerProblemListener, but I haven't groked the "big picture" to
know what I should be using when. It seems like this should be simple, but
I'm confused. Please point me in the right direction! :)

Thanks,

Don McClimans

Reply via email to