zimdanen
zimdanen

Reputation: 5626

Load XSL from another domain

One and a half questions:

1) Does crossdomain.xml only work for Flash?

1a) If so, is there a way to allow the loading of files across domains in the general case? (E.g., serve an XML page with a cross-domain stylesheet declaration to a browser.)

Upvotes: 2

Views: 2037

Answers (1)

Martin Honnen
Martin Honnen

Reputation: 167706

In newer browser CORS should work, see http://en.wikipedia.org/wiki/Cross-origin_resource_sharing. So basically the browser and the server need to cooperate, with the browser requesting the document and the server being configured to allow the access.

Upvotes: 2

Related Questions