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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Word and XML (was: XML standards coherency and so forth)

[ Lists Home | Date Index | Thread Index ]
  • From: jeremy@omsys.com (Jeremy H. Griffith)
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 22 Jan 1999 03:14:21 GMT

On Thu, 21 Jan 1999 20:20:20 +0000, Sean Mc Grath <digitome@iol.ie> wrote:

>RTF doesn't map well to XML -- even very low level -- formatting
>oriented XML -- because of the way RTF is structured.
>
>It is stack based and allows structures to overlap:-
>
> \b1 bold \i1 bold italic \b0 italic \i0 plain

It depends on the RTF implementation.  You are correct about
"stack based", but that's actually contradictory to the
example given.  Word (7/95) really writes this:

  {\b bold }{\b\i bold italic }{\i italic }plain

for that sequence.  In fact, it gets a bit fanatical about
using braces, even if the \b0 method would save bytes.  So 
properly-nested XML would seem *more* likely, as it would be 
the no-brainer conversion from the RTF!  I conclude that the 
XML generator is not based on the RTF-producing code... or
on the underlying Word format, which is similar in design.

-- Jeremy H. Griffith, at Omni Systems Inc.
  (jeremy@omsys.com)  http://www.omsys.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

Copyright 2001 XML.org. This site is hosted by OASIS