W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2000


From: David Charlton <davidc@planaustralia.com.au>
Date: Tue, 13 Jun 2000 17:58:35 +1000
Message-ID: <3945E9AB.507FE30A@planaustralia.com.au>
To: www-dom@w3.org
  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:

<!ELEMENT cdlib (cd+)>

<!ELEMENT cd (artist+, title+, format?, description?)>
<!ELEMENT artist (#PCDATA)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT format (#PCDATA)>
<!ELEMENT description (#PCDATA)>

Next Step is:

cd + - 
Artist      |AnArtist________________| + -
Title       |ATitle__________________| + -
Format      |AFormat_________________| -
Description |ADescription____________| -


Next Step is:





Unfortunately I need to develop this Application in Delphi :(.  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.


David Charlton.

P.S.  Sorry about the lenght of this e-mail.  From my postings on other
groups I have found that a simple paragraph describing the problem just
doesn't show the big picture clearly enough.
Received on Tuesday, 13 June 2000 03:59:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC