This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Microsoft XML > December 2006 > how to apply a xslt on a word 2007 document
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
how to apply a xslt on a word 2007 document
|
|
|
| Hi,
saving documents in word 2003 as .xml enabled you to load the document into
xml spy. There you could attach a xslt to the document and make visual
adjustments to the xslt file and see the results on the fly moore or less.
1) What is best practice for working in a similar way with Word 2007
documents? (they cant be loaded into XML spy)
2) It seems that the namespaces differ between Word 2003 and 2007
documents(xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
versus xmlns:w="http://schemas.microsoft.com/office/word/2003/2/wordml" ).
What is best practice if you want to use a xslt for documents created both by
word 2003 and 2007?
Thanks,
P
| |
| W. Jordan 2006-12-06, 7:31 pm |
| It ain't easy to handle Word 2007 XML files.
The docx file is a zipped file, which contains multiple XML files and some
other
binary files.
You might try using the "document" function in XSLT to access external
XML files.
--
Best Regards,
W. Jordan
"Mo" <Mo@discussions.microsoft.com> wrote
news:6C911F3B-15FA-48B4-AE7A-C7F483CA7638@microsoft.com...
> Hi,
> saving documents in word 2003 as .xml enabled you to load the document
> into
> XML spy. There you could attach a xslt to the document and make visual
> adjustments to the xslt file and see the results on the fly moore or less.
> 1) What is best practice for working in a similar way with Word 2007
> documents? (they cant be loaded into XML spy)
> 2) It seems that the namespaces differ between Word 2003 and 2007
> documents(xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
> versus xmlns:w="http://schemas.microsoft.com/office/word/2003/2/wordml" ).
> What is best practice if you want to use a xslt for documents created both
> by
> word 2003 and 2007?
> Thanks,
> P
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|