Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [v8i MDL] Writing data from XML to database

$
0
0

[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...

  1. Write an XML schema that formally describes your data
  2. Extract XML fragments, using MDL, into an XML document
  3. Read the XML into a DB using that DB's XML import tools


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>