[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

  • From: "Biron,Paul V" <Paul.V.Biron@k...>
  • To: "'xml-dev-digest@i...'" <xml-dev-digest@i...>
  • Date: Wed, 20 Jan 1999 16:30:44 -0800

word 2007 save as html
> From: "Ogievetsky, Nikita" <nikita.ogievetsky@c...>
> Date: Wed, 13 Jan 1999 12:37:06 -0500
> Subject: RE: XML standards coherency and so forth
> 
> >Andreas Berg wrote:
> > I am searching for a converter from Word documents to XML. Unfortunatly
> >I
> have
> > no time to wait for Office 2000..... Is there something like this
> available?
> 
> In the MS Word go to <File>/<Save As> menu, select "Save as HTML
> document".
> It will create a well formed XML file: HTML with all elements having start
> and end tags.
> (Just remember to exhume the <body> - sorry for bad joke).
> 
> Nikita Ogievetsky.
> 
Actually, it is very easy to generate a Word '97 document which when saved
as HTML will be non-wellformed.  Try the following, where *xxx* means "make
xxx bold", and _yyy_ means "make yyy italicized".

	This is *a test _of the* emergency_ broadcast system

The relevant portion of the HTML produced by word is

	<P>This is <B>a test <I>of the</B> emergency</I> broadcast
system</P>

The "nesting" of the B and I elements is not well-formed.  As far as I can
tell this works (or doesn't as the case may be) for any format/font changes.

Word 97 also produced several well-formedness violations when doing anything
more than simple nested lists.

pvb
SGML Business Analyst
Kaiser Permanente, So Cal.

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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.