OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

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

Re: DTD formal syntax




Jim Mehl wrote:

> However for those of you I have confused let me try again. I want a
> program that reads a DTD, say
> <!ELEMENT Record (Field1, Field2) >
> <!ELEMENT Field1 (#PCDATA) >
> <!ELEMENT Field2 (#PCDATA) >
> parses it and then puts up a window/form/input screen/whatever
> that says what do you want for Field1. You say abc. It says what
> do you want for Field2. You say def. The program then produces
> <Record>
> <Field1>abc</Field1>
> <Field2>def</Field2>
> </Record>
> Except, of course, I want it to deal with most any DTD.

What would it do with a content model such as:

((a, (b | c)) | (d, (b | f)))?

Would it have to display a window/form/input screen/whatever (wfiw) for
elements a and d and then dynamically produce the wfiw for the possible
children?

> Like I said
> XMLSpy (and probably others I am unaware of) provides this,
> but I want more control over the data entry format.

This sounds as though it verges on a fully-blown guided syntax editor,
but with a very configurable GUI - I don't think you'll find such a
thing.


--
Regards,

Marcus Carr                      email:  mrc@allette.com.au
___________________________________________________________________
Allette Systems (Australia)      www:    http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
       - Einstein