RE: [xml] Creating XML Doc from a Schema



You can do this in Visual Studio rather easily.  

There are most likely other tools... The one thing about VS is it does not
like using the same sub-schema in more than one place.  For example, in my
schema I use 
<VERSION><MAJOR>1</MAJOR><MINOR>1</MINOR><BUILD_NUMBER>1</BUILD_NUMBER></VER
SION>

For different entry types.  It complains that I used VERSION in more than
one location.  This may not be proper XML, but is very useful in my
instance.

Ron Ohmer

-----Original Message-----
From: xml-admin gnome org [mailto:xml-admin gnome org] On Behalf Of Nicholas
Hendricks
Sent: Tuesday, February 10, 2004 11:59 AM
To: xml gnome org
Subject: [xml] Creating XML Doc from a Schema

Does anyone know of a simple method of creating a
'default' xml document from a schema? 

Basically, I want to use a schema as the template &
when a user selects File->New from my menu, I want to
create a xml document with dummy data that conforms to
my schema.


Thanks,
Nicholas Hendricks
 

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]