Re: Problem with document() Function
Jonas Sicking <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Message-ID | <[email protected]> |
Ntti wrote: > Jonas Sicking schrieb: > >> Do you see any error messages in the error console? I wonder if we >> somehow fail to check security properly and deny access even though we >> shouldn't. > > Ok, now the javascript console speaks with me ;-) > as the url is relative or absolute to chrome it says it is a security > error : > > Security Error: Content at > http://webservices.amazon.de/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=1YF4XR5HH1RYH5F63BR2&Operation=ItemSearch&SearchIndex=Books&Power=keywords:Kochen&ResponseGroup=Small > may not load or link to chrome://metabook/content/thalia.xml. > > But I don't understand why it is a security problem when I want to > apply an xslt stylesheet to an xml file which I get from an webservice > and one that I have it in the chrome directory from my application? > Where should I put my own xml file? the file is dynamicaly generated I > actually need a relative path > > I put it in the Profile Folder from Mozilla and changed the path to: > 'C:\Dokumente und > Einstellungen\Ich\Anwendungsdaten\Mozilla\Profiles\default\zbp6ecm9.slt\thalia.xml') > > the console say nothing but the transformer is continuing to ignore the > second file. It does not matter if the uri is relative or absolute, what matters is uri of the page trying to do the transform and the resolved uri of the stylesheet document. I think you'll need to attach an example to show what you are doing. / Jonas