Word XML

MisterX b.xavier at internet.lu
Sat Dec 17 08:29:37 EST 2005


you mean "hello world" translates to:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?mso-application progid="Word.Document"?>
<w:wordDocument
xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:w10="urn:schemas-microsoft-com:office:word"
xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core"
xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" w:macrosPresent="no"
w:embeddedObjPresent="no" w:ocxPresent="no"
xml:space="preserve"><o:DocumentProperties><o:Title>Hello
world</o:Title><o:Author>X</o:Author><o:LastAuthor>X</o:LastAuthor><o:Revisi
on>1</o:Revision><o:TotalTime>0</o:TotalTime><o:Created>2005-12-17T13:21:00Z
</o:Created><o:LastSaved>2005-12-17T13:21:00Z</o:LastSaved><o:Pages>1</o:Pag
es><o:Words>1</o:Words><o:Characters>11</o:Characters><o:Company></o:Company
><o:Lines>1</o:Lines><o:Paragraphs>1</o:Paragraphs><o:CharactersWithSpaces>1
1</o:CharactersWithSpaces><o:Version>11.5604</o:Version></o:DocumentProperti
es><w:fonts><w:defaultFonts w:ascii="Times New Roman" w:fareast="Times New
Roman" w:h-ansi="Times New Roman" w:cs="Times New
Roman"/></w:fonts><w:styles><w:versionOfBuiltInStylenames
w:val="4"/><w:latentStyles w:defLockedState="off"
w:latentStyleCount="156"/><w:style w:type="paragraph" w:default="on"
w:styleId="Normal"><w:name w:val="Normal"/><w:rPr><wx:font wx:val="Times New
Roman"/><w:sz w:val="24"/><w:sz-cs w:val="24"/><w:lang w:val="EN-US"
w:fareast="EN-US" w:bidi="AR-SA"/></w:rPr></w:style><w:style
w:type="character" w:default="on" w:styleId="DefaultParagraphFont"><w:name
w:val="Default Paragraph Font"/><w:semiHidden/></w:style><w:style
w:type="table" w:default="on" w:styleId="TableNormal"><w:name w:val="Normal
Table"/><wx:uiName wx:val="Table Normal"/><w:semiHidden/><w:rPr><wx:font
wx:val="Times New Roman"/></w:rPr><w:tblPr><w:tblInd w:w="0"
w:type="dxa"/><w:tblCellMar><w:top w:w="0" w:type="dxa"/><w:left w:w="108"
w:type="dxa"/><w:bottom w:w="0" w:type="dxa"/><w:right w:w="108"
w:type="dxa"/></w:tblCellMar></w:tblPr></w:style><w:style w:type="list"
w:default="on" w:styleId="NoList"><w:name w:val="No
List"/><w:semiHidden/></w:style></w:styles><w:docPr><w:view
w:val="print"/><w:zoom
w:percent="100"/><w:doNotEmbedSystemFonts/><w:proofState w:spelling="clean"
w:grammar="clean"/><w:attachedTemplate w:val=""/><w:defaultTabStop
w:val="720"/><w:punctuationKerning/><w:characterSpacingControl
w:val="DontCompress"/><w:optimizeForBrowser/><w:validateAgainstSchema/><w:sa
veInvalidXML w:val="off"/><w:ignoreMixedContent
w:val="off"/><w:alwaysShowPlaceholderText
w:val="off"/><w:compat><w:breakWrappedTables/><w:snapToGridInCell/><w:wrapTe
xtWithPunct/><w:useAsianBreakRules/><w:dontGrowAutofit/></w:compat></w:docPr
><w:body><wx:sect><w:p><w:r><w:t>Hello
world</w:t></w:r></w:p><w:sectPr><w:pgSz w:w="12240" w:h="15840"/><w:pgMar
w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="720"
w:footer="720" w:gutter="0"/><w:cols w:space="720"/><w:docGrid
w:line-pitch="360"/></w:sectPr></wx:sect></w:body></w:wordDocument>

? no way!!!!

ROTFL.... just tested...

Even QuarkXpress tags were nicer to the developper ;)

And why is my user and company information outputed?
This requires careful filtering to save documents with moft office with
privacy...

cheers
Xavier
 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Preston Shea
> Sent: Saturday, 17 December, 2005 13:48
> To: use-revolution at lists.runrev.com
> Subject: Word XML
> 
> Has anyone used MS Word 2003 to write XML for Revolution? 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list