[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DTD formal syntax
- From: David Brownell <firstname.lastname@example.org>
- To: Jim Mehl <email@example.com>, xml-dev <firstname.lastname@example.org>
- Date: Wed, 06 Jun 2001 12:03:28 -0700
> I want to write something that accepts a DTD, allows you to input
> data that conforms to the DTD, and outputs the data in valid XML.
> XMLSpy does this, but not quite the way I would like.
Now I'm very confused:
PUBLIC "-//some//fpi" "some-uri.dtd"
<!-- internal subset is part of dtd too -->
<!ENTITY bar "override what's in external subset">
<!ATTLIST foo bar CDATA "my favorite default">
<!ELEMENT foo EMPTY>
<!-- etc -->
Allows you to input data conforming to that DTD:
Outputs the data in valid XML ... hey, "cat" is my
favorite tool for doing that.
What exactly are you after -- something that takes
something resembling a DTD and then turns it into