[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Brownell <david-b@p...>
  • To: Jim Mehl <mehl@i...>, xml-dev <xml-dev@l...>
  • 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:

Accepts DTD:

<!DOCTYPE foo
    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:

   <foo />

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
a DTD?

- Dave



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member