[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] XML -> SGML serialization. Any ideas ?
- From: David Carlisle <d.p.carlisle@gmail.com>
- To: Christophe Marchand <cmarchand@oxiane.com>
- Date: Fri, 13 Jul 2018 15:10:39 +0100
On 13 July 2018 at 15:04, Christophe Marchand <cmarchand@oxiane.com> wrote:
> Thanks Tony, for this !
>
> I'm able to produce a XML file, with all exotic-characters escaped, with a
> reference to a DTD, that's perfect.
>
> Now, I have to try to see if it's valid as a SGML file...
Probably won't be (especially if your SGML application has extra
restrictions on its character set) but you can easily take entity file
and make a matching one that defines all the entities to be SDATA so
they are defined essentially just to be a system-specific named
character rather than defining them to be Unicode.
You can probably then switch in the XML/Unicode or SGML/SDATA
flavoured entity file via a catalogue without changing your documents.
David
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]