Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 23rd, 2010, 10:06 AM
Authorized User
 
Join Date: Jul 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default relative path problem with Firefox

Hi,
I have a question: relative path problem with Firefox..

I've the folder Order with the order.xml

an other folder is Source with code.xsl


In order.xml I've the string:

<?xml-stylesheet type="text/xsl" href="../Source/deliveryNote.xsl"?>

With IE all right but, Firefox not ok!

Thanks!

Gb
 
Old July 23rd, 2010, 10:11 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Might help:

https://developer.mozilla.org/en/XSL...in_Mozilla_FAQ
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?
 
Old July 23rd, 2010, 10:12 AM
Friend of Wrox
 
Join Date: Nov 2007
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts
Default

Firefox has an error console (under Tools -> Error console) that should show an error, probably you are not allowed to access a parent directory.
__________________
Martin Honnen
Microsoft MVP (XML, Data Platform Development) 2005/04 - 2013/03
My blog
 
Old July 23rd, 2010, 10:59 AM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

I am not 100% sure, but I believe that you can't "go up" to get a folder e.g. ../

I think the stylehsheet needs to be either in the same folder as the xml file or in a lower folder e.g.

Code:
<?xml-stylesheet type="text/xsl" href="Source/deliveryNote.xsl"?>
 
Old July 26th, 2010, 03:15 AM
Authorized User
 
Join Date: Jul 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

thanks for your response...but, why I don't have problem with Explorer with egual path?
 
Old July 26th, 2010, 03:53 AM
Authorized User
 
Join Date: Jul 2010
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Resolution:

I change the path directory....

Source
------file.xml
------file.xsl
------directory Divisions
-----------------------directory one
-----------------------directory two
......
-----------------------directory ennesima

file and directory main into both level...

Thanks!!

Gb





Similar Threads
Thread Thread Starter Forum Replies Last Post
relative positioning in Firefox mackknife BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 3 July 12th, 2007 02:02 AM
Relative and Absolute Path question Johnger Pro Visual Basic 2005 1 September 8th, 2006 10:45 AM
LDAP and Relative Path problem Dmitriy Pro VB 6 0 July 21st, 2003 12:45 PM
DeleteFile(filespec) with relative path? brandon1974 Classic ASP Basics 1 July 19th, 2003 04:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.