[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Inserting XML into stylesheet using copy-of

Subject: Re: Inserting XML into stylesheet using copy-of
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 27 Jan 2010 15:03:52 +0100
Re:  Inserting XML into stylesheet using copy-of
Rob Belics wrote:

Hmm. Transferring those files to my server and now I can see the
inserted xml. So, apparently, there is a reason why this does not work,
or display, when the main xml/xslt is local, on my home office computer,
and the inserted xml file is on the server, but works when the xml/xslt
and inserted xml are all on the remote server.


I need to clean that up a bit if you still want to see it but any ideas
on what the problem could be?

That's simply the same origin policy that browsers apply for security reasons, for XSLT that means that a stylesheet loaded from e.g. http://example.com can load other resources from http://example.com/ but is not allowed to load resources from a different origin like e.g. http://example.org/.
Check the error console of your browser, at least Firefox should display a security error in that case.


--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.