Next in thread →
Next in month →
Re: [xml-dev] XML -> SGML serialization. Any ideas ?
On 13 July 2018 at 15:04, Christophe Marchand <> 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
Next in thread →
Next in month →