Quote:
Originally Posted by pietvo
Firefox saves the file as is, including the xml declaration. And rightly so, because it saves files verbatim.
|
Actually, it strips the declaration and leaves the rest of the html untouched.
Quote:
Originally Posted by Strether
It opened just fine in Word 2003, too, but with the special symbols displayed; and if they can be hidden, it would be nice to know how to do that.
|
I use Word 2007, so not sure if this applies to 2003 as well, but if you right-click a tag and select 'Show XML structure' there's a checkbox labelled 'Show XML tags in the document'.
Alternatively, you can apply an XSLT to the XML in Word. I've attached a very simple one which will just convert the declaration to html. Browse to it in the XML Data Views pane (again, this in Word 2007; 2003 may be different) and apply it to see the document without tags (though Word seems incapable of retrieving style info from an external css in this mode).
In general, it's easiest just to strip the xml declaration if you want to edit these files in Word.