having trouble with XML Catalog and xsl:import
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Tue May 15, 2007 6:01 pm
- Location: South Jersey
having trouble with XML Catalog and xsl:import
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
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
What is the full error message? Does the error message contain the path file:rx_resources/stylesheets/assemblers/rx_Globals.xsl? Are there other validation errors?
Regards,
Sorin
What is the full error message? Does the error message contain the path file:rx_resources/stylesheets/assemblers/rx_Globals.xsl? Are there other validation errors?
Regards,
Sorin
-
- Posts: 2
- Joined: Tue May 15, 2007 6:01 pm
- Location: South Jersey
RE: having trouble with XML Catalog and xsl:import
Sorin,
I ended up figuring out late yesterday that one of my paths needed another / in the front. Now I can get down to the real debugging.
Thanks,
Alex
I ended up figuring out late yesterday that one of my paths needed another / in the front. Now I can get down to the real debugging.
Thanks,
Alex
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service