J
johnb41
I am planning on writing an application, where, before the user can do
anything, he/she must open up a file...
.... it would be an XML file, which contains all the data that he/she
needs in order to work w/ the program.
The XML file has a corresponding .XSD (schema).
So there are really 2 files.
Here's the question: I would like the XML and XSD to be a SINGLE file.
So the user would start by going to File > Open, and selecting that
single file. I don't want the user to have to open up an XML and also
an XSD... too complicated, and it's not standard to the way most
programs work.
I also want it to be a single file, so it is easily portable from
computer to computer. (Like an MS word .doc is a single file that can
be opened anywhere MS Word is installed)
How is this done? Should all the data be combined in a single file, and
then when it's opened, it's parsed out: one part parsed out and saved
as an XML file, and the other parsed and saved as an XSD.
Can anyone give suggestions?
Thanks!
John
anything, he/she must open up a file...
.... it would be an XML file, which contains all the data that he/she
needs in order to work w/ the program.
The XML file has a corresponding .XSD (schema).
So there are really 2 files.
Here's the question: I would like the XML and XSD to be a SINGLE file.
So the user would start by going to File > Open, and selecting that
single file. I don't want the user to have to open up an XML and also
an XSD... too complicated, and it's not standard to the way most
programs work.
I also want it to be a single file, so it is easily portable from
computer to computer. (Like an MS word .doc is a single file that can
be opened anywhere MS Word is installed)
How is this done? Should all the data be combined in a single file, and
then when it's opened, it's parsed out: one part parsed out and saved
as an XML file, and the other parsed and saved as an XSD.
Can anyone give suggestions?
Thanks!
John
