having trouble with XML Catalog and xsl:import
Posted: Tue May 15, 2007 6:19 pm
I am trying to debug some complicated XSL and my first problem is getting the xsl:import to work correctly. I am working from files on a network server and the relative paths for importing need to get redirected.
I am new to both XSLT and oXygen, but I combed this forum and started by using the info in this post.
So far, I have a catalog that looks like this:
and I am trying to get this tag to work:
I am getting this message in the Catalogs tab:
SystemID: null
Description: Resolved URI: file:rx_resources/stylesheets/assemblers/rx_Globals.xsl file:/Users/alexh/Desktop/Volumes/192.168.2.68/rx_resources/stylesheets/assemblers/rx_Globals.xsl
This looks like the correct path, but I am still getting a "[Saxon6.5.5] failure reading file" error when try to validate the document. I assume that there is something simple I am missing here, but I can't figure out what it is.
Any advice would be greatly appreciated.
Alex
I am new to both XSLT and oXygen, but I combed this forum and started by using the info in this post.
So far, I have a catalog that looks like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<system systemId="http://www.w3.org/2004/10/xml.xsd" uri="xml.xsd"/>
<uri name="file:rx_resources/stylesheets/assemblers/rx_Globals.xsl" uri="file:Volumes/192.168.2.68/rx_resources/stylesheets/assemblers/rx_Globals.xsl"/>
</catalog>
Code: Select all
<xsl:import href="file:rx_resources/stylesheets/assemblers/rx_Globals.xsl"/>
SystemID: null
Description: Resolved URI: file:rx_resources/stylesheets/assemblers/rx_Globals.xsl file:/Users/alexh/Desktop/Volumes/192.168.2.68/rx_resources/stylesheets/assemblers/rx_Globals.xsl
This looks like the correct path, but I am still getting a "[Saxon6.5.5] failure reading file" error when try to validate the document. I assume that there is something simple I am missing here, but I can't figure out what it is.
Any advice would be greatly appreciated.
Alex