XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 17th, 2003, 06:21 AM
xtremebytes xtremebytes is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: East Sussex, UK
Posts: 4 xtremebytes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to xtremebytes
XML Schema to XML file

What is the best way to create an instance of an XML schema?

To break it down into further details: suppose an XML schema is given. I obtain the data from a user through a user-interface. Now, having obtained the data I would like to write an XML file with the data that corresponds to the given XML schema.

I would really appreciate some help on this. I had been looking at simple DOM parsers. However, a DOM parser reads and XML schema just as a simple XML file. A super-structure like the XSOM (from Sun's cool tools), Castor, Oracle XDK or Sun's JWSDP is much more helpful. Microsoft XML SDK seems to provide Schema Object Model too. But that again just reads the schema. There seems to be no quick way to generate an XML file from an XML schema in a very generalized way without using JAXB binding (Sun's JWSDP) or similar methods.

XMLSpy does generate a sample XML file from an XML schema with null or sample values in just one click. I would like to do this programmatically.

Thanks a lot in advance.

Last edited by xtremebytes : July 17th, 2003 at 06:37 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > XML Schema to XML file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway