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

Re: [Summary] Media type (MIME) of XML in MS Word? in Notepad?


mime notation
I still think the Word and .DOC material is wrong.

Say I have an xml document
<?xml version="1.0"?>
<x/>

If I take an XML document and embed it in an HTML document like
 
<html>
 <body>
<pre>
   &lt;?xml version="1.0"?>
  &lt;x/>
</pre>
</html>

Then the document being saved is text/html and not XML. The data is XML 
but the notation is HTML.

Similarly, if I take the same XML document and paste it as text into 
Word and save as .DOC (or even as ODF!) I don't get an XML file. I get a 
Word file, and it is not meaningful to speak of the file as an XML 
document. Similarly, if I save to PDF then the document is PDF not XML; 
the mime content type gives the notation used to transmit the data, not 
any notations at play inside the data content literals.

The separation between data and notation is important. If people start 
thinking they can use .DOC as an archive format for XML, God help us all.

Cheers
Rick

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.