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

remote stylesheet with Netscape

Subject: remote stylesheet with Netscape
From: "Pilotte, James" <jpilotte@xxxxxxxxxxx>
Date: Wed, 7 Jul 2004 16:52:34 -0400
remote stylesheet
Okay, I know I'm missing something obvious, but I can't seem to get
Netscape to 
recognize that my stylesheet is on a remote server.   I don't have this
problem 
with IE.   I assume there has to be some way to tell Netscape that the
href path 
is not "A LOCAL FILE IN THE DIRECTORY FROM WHICH THE XML WAS LOADED" but
rather 
just "AN HTTP ADDRESS FOR A REMOTE SERVER".  I can't seem to find an XML

attribute which tells the browser not to assume the href refers to the
same base 
location as the xml file.  IE seems to recognize that this is a remote
location.
 
Any suggestions will be appreciated.
 
Jim Pilotte
InfoPro Inc.
jpilotte@xxxxxxxxxxx  
 
Here is my XML data:
<?xml version="1.0"?>
<!-- XMLRPT Version:06/09/04  FRS FACILITY OPTION -->
<?xml-stylesheet href="REMOTE SERVER ADDRESS" type="text/xsl"?>
<OECA_IDEA>
 <FacilitySiteList GeographicType="User defined area" geographicCode="" 
boundingBox=""              metadataURL=""                
         totalNumRecords="1" >
  <FacilitySite facilitySiteName="LOUIS &quot;J&quot; SPORTSWEAR INC

"  
         facilityRegistryID="110004851900" 
informationSystemAcronymName="RCRAInfo"
         informationSystemIdentifier="PAD981105182   " 
environmentalSystemTypeText="OTHERS                        " SICCode=""
>
   <GeographicCoordinate>
    <LatitudeMeasure> </LatitudeMeasure>
    <LongitudeMeasure> </LongitudeMeasure>
   </GeographicCoordinate>
   <LocationAddress>
    <LocationAddressText>
           5 JOHN ST                     </LocationAddressText>
    <LocalityName>
         CARBONDALE          </LocalityName>
    <StateUSPSCode>
         PA</StateUSPSCode>
    <LocationZIPCode>
         18407</LocationZIPCode>
   </LocationAddress>
   <ComplianceData>
    <QuartersSNC />
    <QuartersViolation>
         0  </QuartersViolation>
    <DaysLastInspection>
          4106</DaysLastInspection>
    <CurrentCompliance>
         NO VIOLATIONS                           </CurrentCompliance>
    <FormalEnforcementActions />
    <Penalties />
   </ComplianceData>
  </FacilitySite>
 </FacilitySiteList>
</OECA_IDEA>
 
Here is what the stylesheet looks like:
 
  <?xml version="1.0" encoding="ISO-8859-1" ?> 
- <!--   Edited by InfoPro Inc. 7/6/04   --> 
- <xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:preserve-space elements="*" /> 
- <xsl:template match="/">
- <html>
- <body bgcolor="white">
  <style type="text/css">#m 
{font-size:11pt;font-family:Arial;font-weight:600;text-align:left} #s 
{font-size:8pt;font-family:Arial;text-align:left} #scb 
{font-size:8pt;font-family:Arial;font-weight:600;background-color:rgb(23
1,214,15
6);text-align:center}</style> 
  <h2>IDEA Reports via XML</h2> 
- <table width="100%" cols="1">
- <tr align="left">
  <td width="100%" id="m">Facility List:</td> 
  </tr>
  </table>
- <table border="1" width="100%" cellpadding="1" cellspacing="0"
cols="6">
- <tr align="center">
  <th id="scb">System</th> 
  <th id="scb">System ID</th> 
  <th id="scb">FRS ID</th> 
  <th id="scb">Name</th> 
  <th id="scb">City</th> 
  <th id="scb">State</th> 
  <th id="scb">Zipcode</th> 
  </tr>
- <xsl:for-each select="OECA_IDEA/FacilitySiteList/FacilitySite">
- <tr>
- <td id="s">
  <xsl:attribute name="informationSystemAcronymName" /> 
  <xsl:value-of select="@informationSystemAcronymName" /> 
  </td>
- <td id="s">
  <xsl:attribute name="informationSystemIdentifier" /> 
  <xsl:value-of select="@informationSystemIdentifier" /> 
  </td>
- <td id="s">
  <xsl:attribute name="facilityRegistryID" /> 
  <xsl:value-of select="@facilityRegistryID" /> 
  </td>
- <td id="s">
  <xsl:attribute name="facilitySiteName" /> 
  <xsl:value-of select="@facilitySiteName" /> 
  </td>
- <td id="s">
  <xsl:value-of select="LocationAddress/LocalityName" /> 
  </td>
- <td id="s">
  <xsl:value-of select="LocationAddress/StateUSPSCode" /> 
  </td>
- <td id="s">
  <xsl:value-of select="LocationAddress/LocationZIPCode" /> 
  </td>
  </tr>
  </xsl:for-each>
  </table>
  <br /> 
  </body>
  </html>
  </xsl:template>
</xsl:stylesheet>
 



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.