|
Subject: Re: ESIS, Groves and XML From: "Liam R. E. Quin" <liamquin@xxxxxxxxxxxx> Date: Tue, 20 Jul 1999 20:53:57 -0400 (EDT) |
On Tue, 20 Jul 1999, Daniel Mahler wrote:
> Would an ESIS/(DOM|SAX) interface be a natural way
> integrate SGML tools with XML tools?
yes, in many ways it is.
Be warned that ESIS throws things away that you may care about --
for example:
comments
white space gets SGML treatment
white space within tags
attributes may be reordered
general entities may be silently expanded in place
There are also SGML features in ESIS that XML tools cannot
handle directly, such as SDATA entities. And of course, SGML
tools may make use of PUBLIC identifiers to find things, when
XML mandates the use of the SYSTEM identifier and allows a
PUBLIC one effectively only as a comment.
But if a subset is OK, it's a pretty easy way to go.
Lee
--
Liam Quin, Barefoot Computing, Toronto; The barefoot agitator
l i a m q u i n at i n t e r l o g dot c o m
Ankh on irc.sorcery.net, ankle5/Ankle{MD} on DALnet
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| ESIS, Groves and XML, Daniel Mahler | Thread | Re: ESIS, Groves and XML, Brandon Ibach |
| RE: sgml-parse and GC, Didier PH Martin | Date | Re: ESIS, Groves and XML, Brandon Ibach |
| Month |