Hi,
I need to read in a DTD from a file that is provided by a third
party. From the DOM created from this DTD I need to create a GUI which
will allow me to enter information into text boxes to insert into the
XML. For Example:
Start with:
Next Step is:
(GUI)
------------------------------------------
------------------------------------------
cdlib
------------------------------------------
cd + -
------------------------------------------
_______________ _________
Artist |AnArtist______ __________| + -
_______________ _________
Title |ATitle________ __________| + -
_______________ _________
Format |AFormat_______ __________| -
_______________ _________
Description |ADescription__ __________| -
------------------------------------------
------------------------------------------
Next Step is:
I need to develop this Application in C#.Net.
As you see, the idea is to have an application that is fully dynamic. I have
found some XML parsing components, but they don't seem to allow you to
parse a DTD to create anything but a DOM Document Type. From here I am
unsure what the next step should be. I also here that the DTD section
of the DOM is likely to change greatly in level 3. Is the project just
a pipe dream :)? Any help would be appreciated.
Thanks,
hiren mistry
I need to read in a DTD from a file that is provided by a third
party. From the DOM created from this DTD I need to create a GUI which
will allow me to enter information into text boxes to insert into the
XML. For Example:
Start with:
Code:
(DTD) <!ELEMENT cdlib (cd+)> <!ELEMENT cd (artist+, title+, format?, description?)> <!ELEMENT artist (#PCDATA)> <!ELEMENT title (#PCDATA)> <!ELEMENT format (#PCDATA)> <!ELEMENT description (#PCDATA)>
(GUI)
------------------------------------------
------------------------------------------
cdlib
------------------------------------------
cd + -
------------------------------------------
_______________ _________
Artist |AnArtist______ __________| + -
_______________ _________
Title |ATitle________ __________| + -
_______________ _________
Format |AFormat_______ __________| -
_______________ _________
Description |ADescription__ __________| -
------------------------------------------
------------------------------------------
Next Step is:
Code:
(XML) <cdlib> <cd> <artist>AnArtist</artist> <title>ATitle</title> <format>AFormat></format> <description>ADescription</description> </cd> </cdlib>
As you see, the idea is to have an application that is fully dynamic. I have
found some XML parsing components, but they don't seem to allow you to
parse a DTD to create anything but a DOM Document Type. From here I am
unsure what the next step should be. I also here that the DTD section
of the DOM is likely to change greatly in level 3. Is the project just
a pipe dream :)? Any help would be appreciated.
Thanks,
hiren mistry
Comment