[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?
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> <?xml version="1.0"?> <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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|