I am new to XML and not a techie but I do a good bit of VBA in Excel. I am trying to copy exactly MSDN article aa159897 which uses a WEB service to copy SharePoint 2007 list data into a Word 2003 document. My computer has XP w SP1, Word 2003 Prof. w SP3 plus a few MS Office 2007 components. I've installed MS Office Tool Kit 2.01. 1) the article says the VBA must use Domdocument50 model. It does not exist on my computer. I have 20, 30, 40, & 60 and tried all of them with with the XML data that WEB svcs returns. 2) the article has 5-6 lines of XSLT to transform the XML This transform gives error of "mixed msxml models". I gues there is a mix between the XML data, the document model, and the XSLT. What is the real problem, do I have to use Domdocument50, if so where is it? Thanks for any help. Dick
d_penny@usa.net wrote: > I am new to XML and not a techie but I do a good bit of VBA in Excel. > > I am trying to copy exactly MSDN article aa159897 which uses a WEB > service to copy SharePoint 2007 list data into a Word 2003 document. > > My computer has XP w SP1, Word 2003 Prof. w SP3 plus a few MS Office > 2007 components. I've installed MS Office Tool Kit 2.01. > > 1) the article says the VBA must use Domdocument50 model. It does not > exist on my computer. I have 20, 30, 40, & 60 and tried all of them > with with the XML data that WEB svcs returns. > 2) the article has 5-6 lines of XSLT to transform the XML > > This transform gives error of "mixed msxml models". I gues there is a > mix between the XML data, the document model, and the XSLT. > > What is the real problem, do I have to use Domdocument50, if so where > is it? Office 2003 and 2007 use and install MSXML 5 and DOMDocument50 is part of MSXML 5 so I don't understand why you don't have that component on your machine with Office 2003 installed. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/
ÎÒ³õѧxml,Ï£ÍûÄܺʹó¼Ò¶à½»Á÷. ºÃÏñÕâÀïû¼¸¸öÓÃÖÐÎĵÄ?