Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: generating an xml from XSD

From: mike@-----------.---
To: NULL
Date: 4/8/2005 5:16:00 AM
If you are using SQLServer you can use "FOR XML" to extract xml data
but I don't know how much this will help you.

SQL server also has DTS which helps move data.

I don't use the classes you mention.

I have several different ways of working with XML:

1) Like this
http://www.liquidpulse.net/code/delphi/general/how_convert_a_ado_recordset_to_xml_and_the_reverse_way.
(Adoanywhere Remote REX server uses this method)

2) Create CreateOleObject('Microsoft.XMLDOM') and add nodes by
traversing my selected rows. (adoanwyhere soap serer uses this method
has problems with picture fields though)

3) Writing the XML text directly to a string i.e. "<start></start>"
easy if you know the format of the output and in your case it is
probably fixed.

4) Use the ADO recordset.Save and Recordset.UpdateBatch methods to save
and reload xml data. (You can try this with adoanywhere browser)


Hope this helps, Mike



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent