I've created a Word Template project, a xslt, and some
helper assemblies using Word 2003, .NET 2.0 and VTO 2.0. I've
tested the xslt through VS2005 using XML - Debug XSL from
the menu bar specifing a XML Word Document as input. The
transformation works fine. However, when trying to save
a Word Document (from Word) as xml and specifing this
xslt I get the following error: "This file cannot be
saved because the specified XSL Transformation(XSLT) is
not Valid." Clicking the Details button
displays: "Keyword msxsl:script may not contain
msxsl:assembly." Why is this, is the some way to force
Word to apply the transformation (Accutually, I want to
save the document applying this transfomation throug the
BeforeSave event in the template). Any help would be
apprciated. Thanks
.
Bob Buckland ?:-\) - 29 Nov 2004 17:13 GMT
Hi J.,
You may want to also post this in the MS Office XML
newsgroup (link below). I'm assuming you're using Word 2003 from
either a standalone Word product or from Office 2003
Professional Edition (other editions of Word 2003 have
more limited XML capability).
=====
I've created a Word Template project, a xslt, and some
helper assemblies using Word 2003, .NET 2.0 and VTO 2.0. I've
tested the xslt through VS2005 using XML - Debug XSL from
the menu bar specifing a XML Word Document as input. The
transformation works fine. However, when trying to save
a Word Document (from Word) as xml and specifing this
xslt I get the following error: "This file cannot be
saved because the specified XSL Transformation(XSLT) is
not Valid." Clicking the Details button
displays: "Keyword msxsl:script may not contain
msxsl:assembly." Why is this, is the some way to force
Word to apply the transformation (Accutually, I want to
save the document applying this transfomation throug the
BeforeSave event in the template). Any help would be
apprciated. Thanks <<

Signature
LLet us know if this has helped you,
Bob Buckland ?:-)
MS Office System Products MVP
*courtesy is not expensive and can pay big dividends8
A. Specific newsgroup/discussion group mentioned in this message:
news://msnews.microsoft.com/microsoft.public.office.xml
or via browser:
http://communities2.microsoft.com/communities/newsgroups/en-us/?dg=microsoft.pub
lic.office.xml
B. MS Office Community discussion/newsgroups via Web Browser
http://microsoft.com/office/community/en-us/default.mspx
or
Microsoft hosted newsgroups via Outlook Express/newsreader
news://msnews.microsoft.com