Jump to content
Sign in to follow this  
RDP1974

XML OmniXml from xsd schema

Recommended Posts

Hi,

I want ask, using OmniXml, can be possible to:

1) load, populate a XML doc from a XSD schema?
2) then set the values?

 

 

Share this post


Link to post

It is very unusual to want to create an XML file and then at some later time set the values. What purpose does an XML file with no values in serve? How you create an XML file from data values that you have is (probably) your question. The answer to this may depend on where the values are coming from.

The Embarcadero XML mapper tool (available on Getit - EXCEPT AT THIS MOMENT IN TIME (JAN 2024) GETIT IS BROKEN) allows you to take <at design time> an existing *.xsd schema and create a transofrmation that can then be used in your code so that <at run time> a TClientDataset can generate an XML file from the data it contains. 

I am aware that I am not helping with the "using OmniXml" part of your question but I mention the above in case it helps.

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×