[quote user="Sedat Alis"]I can prepare a XML from a database table as shown below. Is there a way to write XML data to a database table?[/quote]
Your code shows how you build an XML fragment from an SQL query. Your question is: How do I write XML into an external database?
Other than writing some code to extract XML fragments into an XML document, I don't think you need to any more on the MDL side. Most databases can read XML directly, given a schema that describes your data...
- Write an XML schema that formally describes your data
- Extract XML fragments, using MDL, into an XML document
- Read the XML into a DB using that DB's XML import tools