I have a textarea element that I want to allow users to paste the contents of an xml file into. Once pasted into the texarea I would like to transform the xml and display the html output on a new page.
Is this easily done? And if so, can anyone give a few pointers?
What the problem is, is that there is no xml file as such. There is only xml markup (without an xsl stylesheet link) pasted into a textarea. I would like to transform this with an xsl stylesheet that resides on the server.
How do I transform xml markup in a textarea?
I guess I'm asking how to "get at" the data within the textarea.