xsl-list
[Top] [All Lists]

[xsl] CSS not found when using Firefox

2006-06-08 05:31:07
Can anyone explain why my XML doc displays with proper formatting in IE but not in Firefox? I am guessing it has to do with Firefox's inability to process the absolute path in my XSL file, which changes depending on whether I use this at work or at home (home is D:, work is P:) Is this an XSLT problem or a Firefox problem?


~~~~~ start of XSL file ~~~~~
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet  version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

<xsl:output method="html"/>
<xsl:variable name="common_folder" select="'D:/Program2/Varga/Common Files/'" />

<xsl:template match="/">
<html>
 <head>
   <link type="text/css"
         media="screen, print"
         rel="stylesheet"
         href="{$common_folder}alansdefault2.css"/>
   <title><xsl:value-of select="document/pageheader/header1"/></title>
 </head>
~~~~~ end of XSL file ~~~~~


Thanks, Alan



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>