Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: using MSXML2 in ASP


Message #1 by "Peter Byers" <pb@s...> on Tue, 22 Jan 2002 18:22:40
Hi

	I have a PC running Windows 2000 Professional



	It has IIS installed (it is also running PWS - I am not sure why !!)



	Can anyone give me a lead on how to find and install MSXML2 for use by ASP 

- (presumably it will be installing a version of MDAC ??)



	When I do that, will it also be available for PWS or only IIS





Thank you in advance - I hope !!

Pete (Northolt UK)



Dear Moderator, if this is posted in the wrong place - sorry - if you move it, please let me know 

so that I do not loose it - Thank you
Message #2 by "Bailey, Mark" <MBailey@m...> on Tue, 22 Jan 2002 13:24:06 -0500

http://download.microsoft.com/download/xml/Install/4.0/W98NT42KMeXP/EN-US/ms

xml4.msi



-----Original Message-----

From: Peter Byers [mailto:pb@s...]

Sent: Tuesday, January 22, 2002 1:23 PM

To: ASP Web HowTo

Subject: [asp_web_howto] using MSXML2 in ASP





Hi

	I have a PC running Windows 2000 Professional



	It has IIS installed (it is also running PWS - I am not sure why !!)



	Can anyone give me a lead on how to find and install MSXML2 for use

by ASP 

- (presumably it will be installing a version of MDAC ??)



	When I do that, will it also be available for PWS or only IIS





Thank you in advance - I hope !!

Pete (Northolt UK)



Dear Moderator, if this is posted in the wrong place - sorry - if you move

it, please let me know 

so that I do not loose it - Thank you




$subst('Email.Unsub').

Message #3 by "phil griffiths" <pgtips@m...> on Wed, 23 Jan 2002 11:12:50
He asked for MSXML2 not MSXML4.



Peter, which version exactly do you need?  microsoft's numbering and 

naming of msxml is v confusing so make sure you get the version that gives 

you the functionality you want.  According to MS, win2000 includes msxml 

v2.5 although the dll is actually called msxml.dll.  The dll name changed 

to msxml2.dll from v2.6.



just to confuse things more, msxml3.dll contains a com object with progid 

msxml2.domdocument, not msxml3.domdocument.



Personally, i would say try the dll that ships with win2000 and see if 

this gives you what you need.  If it doesn't (e.g. you need XSLT) then 

forget msxml 2.6, try msxml3 or msxml4 (this is new and i'm not sure 

exactly what it supports or whether its recommended for win2000).



HTH

Phil

> 

> http://download.microsoft.com/download/xml/Install/4.0/W98NT42KMeXP/EN-

US/ms

> xml4.msi

> 

> -----Original Message-----

> From: Peter Byers [mailto:pb@s...]

> Sent: Tuesday, January 22, 2002 1:23 PM

> To: ASP Web HowTo

> Subject: [asp_web_howto] using MSXML2 in ASP

> 

> 

> Hi

> 	I have a PC running Windows 2000 Professional

> 

> 	It has IIS installed (it is also running PWS - I am not sure why 

!!)

> 

> 	Can anyone give me a lead on how to find and install MSXML2 for use

> by ASP 

> - (presumably it will be installing a version of MDAC ??)

> 

> 	When I do that, will it also be available for PWS or only IIS

> 

> 

> Thank you in advance - I hope !!

> Pete (Northolt UK)

> 

> Dear Moderator, if this is posted in the wrong place - sorry - if you 

move

> it, please let me know 

> so that I do not loose it - Thank you




> $subst('Email.Unsub').

Message #4 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Wed, 23 Jan 2002 12:37:33 -0000
just to clear things up a bit...



MSXML2.dll - original version contains XML 2.0, which comes with IE5

MSXML2.dll - later version contains XML 2.6 comes with ADO 2.6

MSXML3.dll - contains XML 3.0, comes with IE6, can be installed to 

		replace older versions or in side-by-side mode

MSXML4.dll - contains XML 4.0, only exists in side-by-side mode



you can specify which version of domdocument you want to create by appending

the version number



CreateObject("MSXML.DOMDocument.3.0")



or in VB, if you have a reference to MSXML3, its New DOMDocument30



if MSXML3 was installed in replace mode, CreateObject("MSXML.DOMDocument")

creates a version 3 domdocument, in side-by-side mode it creates the

previous verion unless the version is specified.



To create a version 4 domdocument, the version must be specified:



CreateObject("MSXML4.DOMDocument")



or



CreateObject("MSXML.DOMDocument.4.0")







-----Original Message-----

From: phil griffiths [mailto:pgtips@m...]

Sent: 23 January 2002 11:13

To: ASP Web HowTo

Subject: [asp_web_howto] RE: using MSXML2 in ASP





He asked for MSXML2 not MSXML4.



Peter, which version exactly do you need?  microsoft's numbering and 

naming of msxml is v confusing so make sure you get the version that gives 

you the functionality you want.  According to MS, win2000 includes msxml 

v2.5 although the dll is actually called msxml.dll.  The dll name changed 

to msxml2.dll from v2.6.



just to confuse things more, msxml3.dll contains a com object with progid 

msxml2.domdocument, not msxml3.domdocument.



Personally, i would say try the dll that ships with win2000 and see if 

this gives you what you need.  If it doesn't (e.g. you need XSLT) then 

forget msxml 2.6, try msxml3 or msxml4 (this is new and i'm not sure 

exactly what it supports or whether its recommended for win2000).



HTH

Phil

> 

> http://download.microsoft.com/download/xml/Install/4.0/W98NT42KMeXP/EN-

US/ms

> xml4.msi

> 

> -----Original Message-----

> From: Peter Byers [mailto:pb@s...]

> Sent: Tuesday, January 22, 2002 1:23 PM

> To: ASP Web HowTo

> Subject: [asp_web_howto] using MSXML2 in ASP

> 

> 

> Hi

> 	I have a PC running Windows 2000 Professional

> 

> 	It has IIS installed (it is also running PWS - I am not sure why 

!!)

> 

> 	Can anyone give me a lead on how to find and install MSXML2 for use

> by ASP 

> - (presumably it will be installing a version of MDAC ??)

> 

> 	When I do that, will it also be available for PWS or only IIS

> 

> 

> Thank you in advance - I hope !!

> Pete (Northolt UK)

> 

> Dear Moderator, if this is posted in the wrong place - sorry - if you 

move

> it, please let me know 

> so that I do not loose it - Thank you




> $subst('Email.Unsub').






$subst('Email.Unsub').



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com



Headquarters Address & Contact Numbers



150 Broomielaw

5 Atlantic Quay

Glasgow

G2 8LU.

Tel:  +44 (0) 141 248 2700.

Fax:  +44 (0)141 221 3217



 This message is sent in confidence for the addressee only.

It may contain legally privileged information. The contents are not to

be disclosed to anyone other than the addressee. Unauthorised recipients

are requested to preserve this confidentiality and to advise the sender

immediately of any error in transmission.





Message #5 by "Bailey, Mark" <MBailey@m...> on Wed, 23 Jan 2002 07:50:22 -0500



Well excuse me. 

"MSXML2" is what he requested and that is ambiguous given Microsoft's naming

convention.  I would assume if he wanted version 2 he wouldn't be asking

because it's already on his system if he has IE.  XML 4 Core Services (the

new name) has some great performance advantages, even over XML Parser 3, we

tested it 8 times as fast with large transformations (xslt), that's my

recommendation!





-----Original Message-----

From: phil griffiths [mailto:pgtips@m...]

Sent: 23 January 2002 11:13

To: ASP Web HowTo

Subject: [asp_web_howto] RE: using MSXML2 in ASP





He asked for MSXML2 not MSXML4.



Message #6 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Wed, 23 Jan 2002 14:42:47 -0000
4 is far stricter than 3 though - we just use 3 as a result... one day when

we get round to tightening up our XML we'll start using 4 ;-)



-----Original Message-----

From: Bailey, Mark [mailto:MBailey@m...]

Sent: 23 January 2002 12:50

To: ASP Web HowTo

Subject: [asp_web_howto] RE: using MSXML2 in ASP









Well excuse me. 

"MSXML2" is what he requested and that is ambiguous given Microsoft's naming

convention.  I would assume if he wanted version 2 he wouldn't be asking

because it's already on his system if he has IE.  XML 4 Core Services (the

new name) has some great performance advantages, even over XML Parser 3, we

tested it 8 times as fast with large transformations (xslt), that's my

recommendation!





-----Original Message-----

From: phil griffiths [mailto:pgtips@m...]

Sent: 23 January 2002 11:13

To: ASP Web HowTo

Subject: [asp_web_howto] RE: using MSXML2 in ASP





He asked for MSXML2 not MSXML4.








$subst('Email.Unsub').



________________________________________________________________________

Scottish Enterprise Network

http://www.scottish-enterprise.com



Headquarters Address & Contact Numbers



150 Broomielaw

5 Atlantic Quay

Glasgow

G2 8LU.

Tel:  +44 (0) 141 248 2700.

Fax:  +44 (0)141 221 3217



 This message is sent in confidence for the addressee only.

It may contain legally privileged information. The contents are not to

be disclosed to anyone other than the addressee. Unauthorised recipients

are requested to preserve this confidentiality and to advise the sender

immediately of any error in transmission.






  Return to Index