RE: [xsl] XML View in IE 6

Subject: RE: [xsl] XML View in IE 6
From: "XSLList" <XSLList@xxxxxxxxxx>
Date: Wed, 19 Apr 2006 09:30:27 +0100
Neelima,

It is possible that you are experiencing a problem with permissions. As a
rule we never develop any application with any file residing on the desktop
or other personal folders because of the vagaries of the Windows
permissions. The desktop is a peculiar folder and has peculiar permission
settings. It is also unlikely that once developed your application will ever
be deployed on anyone's desktop.

Either use a web path for your PI in the head of the XML or use a file path
which points to a directory/folder which does not "belong" to a specific
user i.e. c:\data\development\yourproject\. You can use relative paths for
either method, if both files are in the same directory just remove all the
path before the file name, this will allow you to move the files to any
directory and it should still work.

One easy way to test that the path is correct is to paste the path in the
address box of windows explorer, if the file opens then the path is correct,
both XML and XSL files will open in IE if that is the default program for
opening XML and XSL files.

Alternatively you could use a tool such as XMLSpy or Cooktop which allows
you to assign an XSL file to an XML file by browsing the file structure;
which makes getting the paths correct MUCH easier.


William Charlton
The yMonda team
yMonda Limited
w: www.ymonda.net

-----Original Message-----
From: Neelima Adusumilli [mailto:neelima.adusumilli@xxxxxxxxx] 
Sent: 19 April 2006 04:56
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] XML View in IE 6

Hi ken,

ok heres the scenario....make an xml file say books.xml and also an
xsl file say styles.xsl...now copy these two files onto your desktop.
When you try to open the xml file in IE6, it works fine. It also works
when you give in the address bar as

c:\...Desktop\books.xml#12

Make a folder by name Work on your desktop. Now copy the two files
into this folder. And when you try to open the xml file in IE6, it
shows up properly with out any errors. But when I try giving the
following in the address bar

c:\...Desktop\Work\books.xml#12

I am getting the following error:

"Windows cannot find 'c:\...\Desktop\Work\books.xml#12'. Check the
spelling and try again, or try searching for the item by clicking the
Start button and then clicking Search."

NOTE: Please try with the tags...#12, etc. Otherwise it works fine.

Thanks,
Neelima

On 4/18/06, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> At 2006-04-18 13:41 +0530, Neelima Adusumilli wrote:
> >I have an xml file as follows:
> >...
> >And the corresponding xsl file is as follows:
> >...
> >The strange problem that I am facing is:
> >When I have these two files on the desktop, the tags work perfectly
> >fine. For instance c:\documents and
> >settings\neelima\desktop\books.xml#2
> >
> >But when I have the same files in another directory/folder on the
> >desktop, there seems to be a problem.
> >
> >Can some one please tell me what could be the problem?
>
> You don't say what the problem is, so it is difficult to help you solve
it.
>
> I put the two files into a directory called t:\ftemp\ and
> successfully dragged the XML file into IE and it displayed correctly.
>
> I'm guessing you had a problem copying the files ... but if you don't
> give us a clue by way of an error message or a symptom, I don't see
> how we can help you.
>
> . . . . . . . . . . Ken
>
>
> --
> Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16
> Also for XML/XSLT/XSL-FO training:Birmingham,England 2006-05-22/25
> Also for XSLT/XSL-FO training:    Copenhagen,Denmark 2006-05-08/11
> World-wide on-site corporate, govt. & user group XML/XSL training.
> G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
> Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
> Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
> Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
> Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread