Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: transformNode throws "Access is denied" error [Thread Next] Re: transformNode throws "Access is denied" errorTo: NULL Date: 5/5/2006 11:58:00 AM I finally figured it out. I had been using XMLHttpRequest to get XML documents from various sources (XML files, SQL Server templates, ASP pages, etc.) so I used it to get the XSL file as well. I figured that XMLHttpRequest is supported on a number of browsers, even if transformNode() isn't and if in the future I needed cross-browser support (I don't for this application), it would require fewer changes. Having successfully used transformNode() in a browser script on a PocketPC using a Microsoft.XMLDOM object, I thought I wouldI try using that to load the stylesheet in this case as well. When I used the XMLDOM-loaded stylesheet with the XMLHttpRequest-loaded XML, transformNode() worked perfectly. I'm guessing that the XMLHttpRequest object is restricted for some reason, or perhaps further steps might have allowed me to use the XMLHttpRequest-loaded stylesheet. In the future, however, I may try to restrict my use of XMLHttpRequest to situations where I need to pass parameters. Thanks for your response... Chuck On Thu, 04 May 2006 12:08:21 +0200, "Oleg Tkachenko [MVP]" <some@b...> wrote: >Access denied implies some access. >By any chance do you have xsl:import/xsl:include statements or >document() function calls in your stylesheet? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
