
August 18th, 2004, 03:36 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Generate XML using XSD
I've been asked to find a way to take in an xml doc, parse it, determine the elements and process it intends to run, instantiate an object, perform the requested process, set the object properties, then generate an XML doc as output that follows a (programmatically determined) XSD. The .NET 2.0 Beta framework has a tool for doing this, but it references XmlSchemaSet (a replacement for XmlSchemaCollection) and is written in C#. .NET 2003 doesn't recognize a good portion of the members being reference. If necessary I could reconstruct the code, but since I'm a VB.NET person and not a C# person, the "translation" is rather a pain. Parsing the XSD and creating collections of collections of collections to hold the XML structure has been suggested, but being new to XML, I'm not sure that's the best approach. Has anyone written a tool that can do this using VB.NET in the .NET 1.1 Framework? If not, does anyone have any ideas? Thanks!
|