473,320 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

URL as XSL Reference

All
A quick question regarding referencing xsl stylesheets from XML..

Up until now i have always refernced a stylesheet using a UNC eg

<?xml-stylesheet type="text/xsl" href="\\lsgpic04\...

Now i am looking at referencing the xsl using a URL eg

<?xml-stylesheet type="text/xsl" href="http://gpmsbic...

however this is failing with access is denied, error processing the
resource (ie the xsl)

So just to confirm .. can URLs be used as the xsl reference within XML?

If this is perfectly acceptable then i guess it could be a permission
issue

Thanks in advance for your help

Will

Sep 2 '05 #1
3 1575


will wrote:

<?xml-stylesheet type="text/xsl" href="http://gpmsbic...

however this is failing with access is denied, error processing the
resource (ie the xsl)

So just to confirm .. can URLs be used as the xsl reference within XML?
Sure the href is supposed to be a URL and not some UNC path, but
If this is perfectly acceptable then i guess it could be a permission
issue


if you load an XML document with a <?xml-stylesheet>
processing-instruction from a HTTP server then browsers usually with
normal security settings only allow loading a stylesheet from the same
HTTP server e.g. loading http://example.com/example.xml with the href
for the stylesheet pointing to http://example.com/exampleSheet.xml is
fine while the browser won't load a stylesheet from http://example.com/.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Sep 2 '05 #2
Thanks Martin for the swift response

Hmm the xml is on a local shared drive while the xsl is on a web server

This works through xmlspy but not through internet explorer

Any Clues?

Sep 2 '05 #3


will wrote:
Hmm the xml is on a local shared drive while the xsl is on a web server

This works through xmlspy but not through internet explorer


XML spy is a standalone application that does not impose security
restrictions usually while Internet Explorer is a browser where usually
many things are restricted. If you load the XML from the local file
system and want IE to access the stylesheet on a web server then you
need to configure IE to allow access to data source across domains.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Sep 2 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: RU | last post by:
Hi, I am working on a porting project to port C/C++ application from unixware C++, AT&T Standard components to g++ with STL on Linux. This application has been working properly on...
110
by: Mr A | last post by:
Hi! I've been thinking about passing parameteras using references instead of pointers in order to emphasize that the parameter must be an object. Exemple: void func(Objec& object); //object...
11
by: Doug | last post by:
Is there any harm in passing an object into a method with the 'ref' keyword if the object is already a reference variable? If not, is there any benefit?
13
by: Abe Frohnman | last post by:
Hello all, I'm passing a reference to a class into the constructor of a form, like so: public MyForm(int count, ref Area myArea) {...} How can I use myArea outside the constructor? Should I...
4
by: z_learning_tester | last post by:
I'm reading the MS press C# book and there seems to be a contradiction. Please tell me which one is correct, 1 or 2. Thanks! Jeff 1. First it gives the code below saying that it prints 0 then...
13
by: al.cpwn | last post by:
I get that these two are different int* get() { static int m; return &m; } int& get() {
51
by: Kuku | last post by:
What is the difference between a reference and a pointer?
27
by: David W | last post by:
I'm almost tearing my hair out. A colleague claimed that a null reference can exist, like this: void f( int& p ) { printf( "%d\n", p ); } int main (int argc, char *argv) {
41
by: Summercool | last post by:
Can we confirm the following? also someone said, Java also has "reference" like in C++, which is an "implicit pointer": Pointer and Reference --------------------- I am starting to see what...
275
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.