Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - VBA DOMDocument60 Instructions/Examples [Thread Next] Re: VBA DOMDocument60 Instructions/ExamplesTo: NULL Date: 7/23/2009 12:07:00 PM MarkTheAccountant wrote: > I'm trying within a Access 2007 module to load XML, edit it (add/remove > amend the text in nodes). I'm struggling as I can't find any good examples > (I seem to see lots of Javascript, some VB.Net and earler versions of the > MSXML). Does the MSXML SDK not help? http://msdn.microsoft.com/en-us/library/ms763742(VS.85).aspx It might not have all examples tailored to MSXML 6 but the APIs have not changed much since MSXML 3 so anywhere where you see DOMDocument30 or DOMDocument40 or DOMDocument50 you can simply replace that with DOMDocument60. There are a few cases where MSXML 6 is more restrictive by default than earlier versions, see http://msdn.microsoft.com/en-us/library/ms753751(VS.85).aspx for details, so for instance to allow parsing of XML documents with a DTD you need to set a second level property ProhibitDTD (http://msdn.microsoft.com/en-us/library/ms762632(VS.85).aspx) to false first. But adding and removing text inside of elements certainly is not different in MSXML 3, 4, 5, 6. -- Martin Honnen --- MVP XML http://msmvps.com/blogs/martin_honnen/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
