I'm trying to do a server-side xsl transform of an xml
string.
But, no matter what I try, I can't get the xml string into a Document. I don't get an error, but the Document is always empty; somehow the parse is not taking the String.
Here is the pertinent code:
After running this, when I examine the contents of document's internal StringBuffer it is null.
What irks me is that at one point I did have the magical combination that made this work, but I lost the code.
Can someone help me with this, or show me a better way? Eventually I just need to be able to take an xml string and an xsl string and do the transform on the
servlet and send out a finished HTML to a mobile device.