Sign in to follow this  
255

[web] Working with XML schemas

Recommended Posts

255    368
I need to work on a site where communication with a database is done by XML. As usual, there seems to be no proper documentation. All I've been given is a bunch of XML schema files. My experience with XML schemas is limited to reading a few tutorials some years ago so I'd like to know if there are any free tools that make working with them easier. I've found a few validators on the net but what I'd really like is some sort of a template generator that reads a schema and outputs an XML example file with all the allowed tags and attributes.

Share this post


Link to post
Share on other sites
xiuhcoatl    282
It depends what you need to do. I haven't worked with XML much past parsing, reading, and writing the data. Xerces is pretty good for it - although the C/C++ library throws a few unneccessary exceptions. I didn't dig too deep into all the functionality, but it appears you can do just about anything you need to (XML, XSL, etc..). Its on the Apache site (so its thrifty too..) - check out the docs and see if thats what you need..


HTH


#dth-0

Share this post


Link to post
Share on other sites
jakem3s90    437
Quote:
Original post by 255
but what I'd really like is some sort of a template generator that reads a schema and outputs an XML example file with all the allowed tags and attributes.


Hey there! Microsoft makes a tool to do this. I've used it before and found it quite handy.

Here's the link. There is a download link on that page. I don't remember having to build it, but if it needs you to, and you don't have Visual Studio, I'll send you my build.

Hope this helps!


Jake

Share this post


Link to post
Share on other sites
255    368
Hey, thanks jakem3s90! The tool works quite well, although I have to switch to another OS to run it :)

Share this post


Link to post
Share on other sites

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