OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] XML -> SGML serialization. Any ideas ?

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.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS