Next in thread → Next in month →

Re: [xml-dev] How to read a DTD file?

From
John Cowan <>
To
Date
2002-08-25T23:58:25Z
ID
<>
Thread
Re: [xml-dev] How to read a DTD file?
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                    
Next in thread → Next in month →