Re: Unable to resolve the XSL reference from MS Outloo
Hi, Apparently you're XML has a reference to an XSLT file. When you open the file with a texteditor like notepad and you will probably find at the top of the file a statement like <?xml-stylesheet type="text/xsl" href="LynkIncXML/LynkXMLPO.xsl'" >. The error message is saying it can't open the this xsl-file. You can remove this statement and open the XML file. You will see the raw XML data. So probably useless for you. I don't know why it works from other mail clients or directory. Somehow it can find the stylesheet from these other locations. Cheers, Agnes ----- Original Message ----- From: "Bob Cagle" <bcagle@xxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, February 26, 2004 5:38 PM Subject: Unable to resolve the XSL reference from MS Outlook e-mail attachment on Win XP I am hoping that someone can point me in the right direction: I am currently working on a project to send some XML Purchase Orders via e-mail. I have run into an issue that appears to be isolated to MS Outlook when running on XP. When Outlook receives the e-mail with the attachment, we are unable to open the XML document directly from the e-mail. We get an error when it attempts to resolve to the stylesheet (which was previously placed on the local hard drive of the receiving machine in the specified directory). The specific error we get is: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Access is denied. Error processing resource 'file:///c:/LynkIncXML/LynkXMLPO.xsl'. We are being forced to save the XML document to the local hard drive, and then are able to open it with the stylesheet formatting in place. I know that the attachment is stored in C:\Documents and Settings\<user>\Local Settings\Temporary Internet Files\OLFK17 so I browsed to the actual XML temp file and tried opening it from there and get the same error. So I moved that very same file to a different directory and was able to open it without any errors! Anyone have any ideas about this? Why would that temp directory be causing this to occur? Other e-mail clients, such as Lotus Notes or Outlook Express on a Win 9x/ME machine, do not have a problem opening this same document. TIA Bob Cagle IT Manager Lynk, Inc. BCagle@xxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format