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


J.Pietschmann scripsit:

> Basically every XML parser reads and more or less
> interprets a DTD automatically. If you want to
> do something with a DTD youself, like converting
> it to something else or analyze it, you can use
> Xerces' advanced XNI interfeace. Look at cyberneko
>   http://www.apache.org/~andyc/neko/doc/index.html
> for a sample.

In addition, James Clark's dtdinst program (http://www.thaiopensource.com/dtdinst)
converts DTDs to instance format using a hand-rolled schema that
preserves most parameter-entity structure.  It figures out what
the purpose of the parentity is (model, att group, etc.) and marks
the definition appropriately.

-- 
All Gaul is divided into three parts: the part          John Cowan
that cooks with lard and goose fat, the part            www.ccil.org/~cowan
that cooks with olive oil, and the part that            www.reutershealth.com
cooks with butter. -- David Chessler                    jcowan@r...

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