spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / xml / column42

Microsoft XML parser version 4 released

Developer News
Eclipse Helios Update Brings New PHP Tools
Internet Explorer 9 Ups Standards Support
JBoss Portal 5 Release Easier to Use

Code snippet

Alert reader Alastair Hamilton sent in a code snippet for determining which version of the Microsoft XML parser is loaded. Thank you!

"You wanted to know how to determine which XML Parser is loaded:"

Try creating a version of the XML DOM and see if it fails.

Set sxhr = CreateObject("Microsoft.XMLDOM")
If Err.Number <> 0 Then
  bDOM = false

The above would check for the basic XMLParser, so to check for the latest:

Set sxhr = CreateObject("Microsoft.DOMDocument.4.0")
If Err.Number <> 0 Then
     bDOM4 = false

Produced by Michael Claßen

webref The latest from WebReference.com Browse >
Flashmaps' DynamicLocator: Interactive Maps for Small Areas · Flashmaps' AreaSelector: Interactive Maps for Wide Areas · The DB Mapper: Interactive Street-level Maps of U.S. and Canada
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags

URL: http://www.webreference.com/xml/column42/2.html
Created: Oct 29, 2001
Revised: Oct 29, 2001