XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Yitzhak KhabinskySubject: MSXML 4.0 processor option in the Scenario Properties
Author: Yitzhak Khabinsky
Date: 04 Jan 2005 11:34 AM
I am trying to select ‘use MSXML 4.0 processor’ option in the Scenario Properties.
Unfortunately that radio button option is dimmed.

My machine is Windows Server 2003 where MSXML 4.0 parser is installed.
I can run scripts which are using MSXML 4.0 parser without any problem.

What should I do to make MSXML 4.0 parser available for selection in the Scenario Properties?

Thanks,
Yitzhak

Postnext
Ivan PedruzziSubject: MSXML 4.0 processor option in the Scenario Properties
Author: Ivan Pedruzzi
Date: 04 Jan 2005 11:08 PM


Stylus Studio checks the following Msxml2.DOMDocument.4.0 progid to verify if MSXML 4.0 is installed on the system
For some reason the check is failing on your system.


Ivan

Postnext
Yitzhak KhabinskySubject: MSXML 4.0 processor option in the Scenario Properties
Author: Yitzhak Khabinsky
Date: 05 Jan 2005 07:47 AM
I exported a branch from the OS registry.
It looks like that everything is kosher in the registry.

Again, I can run a code below without any problem on my machine:

' ********************************************************
set xmlDom = CreateObject("msxml2.DOMDocument.4.0")

' all needed settings
xmlDom.async = false
xmlDom.resolveExternals = False
xmlDom.validateOnParse = False

call xmlDom.setProperty("NewParser", True)
call xmlDom.setProperty("SelectionLanguage", "XPath")

xmlDom. Load("siteRefresh.xml")

if xmlDom.parseError.errorCode = 0 then
set currNode = xmlDom. selectSingleNode("/root/image/imageURL[../date='2004-03-29']")
wscript.echo("strPath=" & currNode.text)
end if

set xmlDom = Nothing
' ********************************************************


Thanks,
Yitzhak


UnknownMSXML4_RegBranch.zip

Postnext
(Deleted User) Subject: Re: MSXML 4.0 processor option in the Scenario Properties
Author: (Deleted User)
Date: 05 Jan 2005 08:54 AM
Hi Yitzhak,
we have found a couple of possible causes for the behavior you are seeing:
- your account doesn't have read/write access rights to the registry branch
- the first subkey of InProcServer32 is ThreadingModel, instead of the
predefined entry

If your account has enough rights, and you feel comfortable editing the
registry, you can try to workaround the problem by:
1) exporting the registry key
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{88D969C0-F192-11D4-A65F-0040963251E5}\InProcServer32]
to a file
2) renaming the key
3) editing the saved file so that "ThreadingModel"="Both" comes after the
"@=hex(..." entry
4) importing the file back into the registry

Hope this helps,
Alberto


Posttop
Yitzhak KhabinskySubject: Re: MSXML 4.0 processor option in the Scenario Properties
Author: Yitzhak Khabinsky
Date: 05 Jan 2005 04:01 PM
Guys,

You are great again.

Sequential order of the entries in the registry
for (default} and ThreadingModel matters.

Thanks,
Yitzhak

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.