spacer

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

home / experts / xml / column42

Microsoft XML parser version 4 released

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

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