I need to create XML file, given a table/view in the Database. The actual requirement would be: The code has to get the table/view name as input parameter, read the schema of the same, create a corresponding XML file with the same structure as that of the table/view, and load the XML with the data of the table/view. Language preferred here is JSP. Kindly let me know how to go about this idea.
Thanks in advance, Geetha
This sort of does what you want, except it isn't specific to Oracle. It produces an XML string, not an XML document.
Excerpt: