A
Angus McPresley
From within a JSP, I need to hit another server to retrieve some XML
results, then parse them programmatically.
If I use a StreamResult object, I can transform the results I get back
using XSL just fine. But, to get at the individual nodes of the XML
tree, if I switch to a DOMResult object, I get EmptyStackException's.
So, how would I go about parsing the individual nodes in the XML
retrieved from an external server, from within a JSP? StreamSource
won't let me at the nodes themselves.
Hope this makes sense. Any help in this matter would be MUCH
appreciated...
--Mark
results, then parse them programmatically.
If I use a StreamResult object, I can transform the results I get back
using XSL just fine. But, to get at the individual nodes of the XML
tree, if I switch to a DOMResult object, I get EmptyStackException's.
work on files, not on text (which I retrieve from the external URL).From looking around, I surmised this is because DOMResult objects only
So, how would I go about parsing the individual nodes in the XML
retrieved from an external server, from within a JSP? StreamSource
won't let me at the nodes themselves.
Hope this makes sense. Any help in this matter would be MUCH
appreciated...
--Mark