Re: Savings as XML document to be used on a website_office2008.



Hi Phillip:

Word writes, and always has written, XHTML. That is HTML code with XML used
to add the information that HTML cannot describe.

There's nothing wrong with it. It's perfect XHTML, and complies exactly to
the W3C standard for XHTML. It does not need fixing.

DreamWeaver does have a button to delete some code if you do not need all of
the information contained in the document. But so does Word :-)

The OOXML being written by Word 08 complies with the ECMEA Standard for
OOXML. It is a much richer language again, because it needs to describe a
winder selection of complex objects (for example, SmartArt).

In DreamWeaver, you would have two choices: Either attach the OOXML style
*** as your first CSS, or use Word to strip the code back to HTML.

Cheers

On 27/01/08 4:24 AM, in article O#nEHBEYIHA.5348@xxxxxxxxxxxxxxxxxxxx,
"Phillip Jones" <pjones1@xxxxxxxxxxxx> wrote:

Actually no we haven't so far as XML is concerned.

WE have HTML on 2004. And that sound a lot similar to what I was
thinking about.

Even the MVP's noted that word's HTML and WWW HTML are two different
animals. That Word adds additional code that word (either Mac or PC)
could use to set formatting such a Bold, Italic, Underline: Line,
Paragraph, and Page Breaks.

This is what DreamWeaver *fixes*. It converts what it can to real world
WWW HTML code and colors what it can't determine for you to manual
remove or add as needed.

XML is another variation altogether.And has nothing to do with Fix Word
code. :-)

John McGhie wrote:
Hi Phillip:

I think we have discussed this before :-)

DreamWeaver never had to "fix" Word's XHTML formatting. There was never
anything wrong with Word's XHTML formatting.

But it is a very right encoding that contains a lot of information that some
people wanted to remove. DreamWeaver has a button that removes information
from the file that, in DreamWeaver's opinion, is not needed.

That judgment depends very much on what you want to do with the file.
Removing headers, footers, footnotes and citations may not be the best
course of action, depending on what is in the document and who wants it.

But it is not a "repair", in that all of that code contains information and
it is all there for a reason. It is a "dumbing-down" of the code, which may
be a good idea if you have a lot of users on dial-up, but prevents other
users from opening the web page and saving it back as a complete Word
document so they can work on it.

Cheers


On 26/01/08 6:48 AM, in article uFhhTt4XIHA.5180@xxxxxxxxxxxxxxxxxxxx,
"Phillip Jones" <pjones1@xxxxxxxxxxxx> wrote:


Jim Gordon MVP wrote:
Quoting from "Phillip Jones" <pjones1@xxxxxxxxxxxx>, in article
#dnhLepXIHA.3688@xxxxxxxxxxxxxxxxxxxx, on [DATE:

This question is brought up, by another question someone else asked on a
slightly different subject.

With Office 2008 can you save as an XML format that can be used directly
in a DreamWeaver created web page. In other words can you save as True
XML (or HTML) that can be opened in DreamWeaver and uploaded to a website?

This would be great to be able to post word document to a website and be
able to have them viewed directly in website.
Hi Phillip,

Word 2008 can save documents in 5 different formats that Dreamweaver might
be happy with (I don't have dreamweaver, so I can't tell you what it does
with these).

Docx
This is the default file format. It's really a zipped folder that if you
right click on, in Finder you can unzip it and see the XML files inside.
The
purpose of zipping is to give the illusion that this format is as efficient
or more efficient than its .doc predecessor. It's really not. Binary
formats
will always be more efficient than text files like XML. On the other hand,
any text editor can work with XML files, and Dreamweaver should be no
exception.

XML
You can save straight to XML

Word 2003 XML
Another XML format

HTM
Surely Dreamweaver can handle this format
In Office2004 if saved as a HTML format document. DreamWeaver always had
to Fix it. In fact they have a specific menu choice to fix Word HTML.
and some times even after going through the fix you still have to manual
remove stuff left behind.

Its always been simply if you need to type a document just to type it
and do any formatting and style within DReamWeaver. Just though now e
might could just type in word getting the formatting correct in word
then just post it on a website with no intervention by DW to fix the
faults.
MHT
Single File Web page. Don't know what Dreamweaver would make of this.

-Jim




--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Sydney, Australia. S33°53'34.20 E151°14'54.50
+61 4 1209 1410, mailto:john@xxxxxxxxxxx

.