hai led thanks for giving the reply but i have placed the property even though am getting error what i mentioned above.. below is the total code what i have.. Dim xslDoc As MSXML2.FreeThreadedDOMDocument60 Set xslDoc = New MSXML2.FreeThreadedDOMDocument60 xslDoc.setProperty "SelectionLanguage", "XPath" xslDoc.setProperty "SelectionNamespaces", "xmlns:xsl='http://www.w3c.org/1999/XSL/Transform'" xslDoc.setProperty "AllowXsltScript", True xslDoc.async = False xslDoc.validateOnParse = False xslDoc.loadXML strXML xslDoc.selectSingleNode(STR_XPATH_PRIORITY_SORTORDER).nodeValue = " " the last line is giving us error if we have FreeThreadedDOMDocument60.. without 60 its working fine.. thanks chandu.M