This discussion is archived
3 Replies Latest reply: Sep 1, 2013 3:03 AM by odie_63 RSS

generate a valid xml based on a xsd

HenkB Newbie
Currently Being Moderated

Hi,

 

It is common practice that sometime you get an xsd from some party and you have to generate a valid xml from your application based on the xsd. Of course you can do it by hand and test it. When you used 3gl languages like c#, java or Delphi you can import the xsd and you get a bunch of objects. The only thing you have to do is to fill the objects and when finished the xml can be generated conforming the imported xsd. Is this possible in Oracle? I have read that with DBMS_XMLSCHEMA.registerSchema Oracle also generate a bunch of object types. Is it possible to fill this objects and that Oracle generates a valid xml? The last part I cannot find in the documentation (see 5 XML Schema Storage and Query : The Basics). The solution should at least work for 10.2.0.3..

 

Any suggestion, pointers, links, examples?

 

Thanks,

 

Henk


Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points