By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,557 Members | 1,164 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,557 IT Pros & Developers. It's quick & easy.

XML Document Creation

P: n/a
Che
Being a total novice at this sort of thing I thought that I'd ask you
good folk before I bark up the wrong tree.

I have an XSD file and a text file, and what I would like to try is to
create an XML file using the tags from the XSD file with data from the
text file.

I thought first of just doing it via grunt work, reading bothe files
and parsing the XSD file, adding the text ect etc, but then I thought
there has to be a better way.

I did have a dig around but came up empty handed, so a kick in the
right direction would be much appreciated.

Cheers
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Take a look at Castor- it can create Java classes from XSD files which can marshall and unmarshall themselves to/from XML.
www.castor.org
Being a total novice at this sort of thing I thought that I'd ask you
good folk before I bark up the wrong tree.

I have an XSD file and a text file, and what I would like to try is to
create an XML file using the tags from the XSD file with data from the
text file.

I thought first of just doing it via grunt work, reading bothe files
and parsing the XSD file, adding the text ect etc, but then I thought
there has to be a better way.

I did have a dig around but came up empty handed, so a kick in the
right direction would be much appreciated.

Cheers


--
Composed with Newz Crawler 1.5 http://www.newzcrawler.com/
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.