
Hello, The action Open File at Caret opened an XSL file from the frameworks directory because the XML catalogs of the document types from Preferences -> Document Type Association have higher priority than the XML catalogs from Preferences -> XML -> XML Catalog. If the href value contains "1.75.2" that URL can be resolved only with your XML catalog added in Preferences -> XML -> XML Catalog. Regards, Sorin Robert Nagle wrote:
So, really, all I need to do is go to Preferences --> XML --> XML Catalog --> NEW Xml catalog --> Browse to catalog.xml in local xsl root (file:/I:/My%20Documents/xml/docbook-xsl-1.75.2/catalog.xml).
When I right-click the href value and click Open File at Caret, it opens in the frameworks directory (not the path I gave it) to the default xsl file (which is 1.7.5.1). Humpf!
If I change the xsl: import to <xsl:import href=" http://docbook.sourceforge.net/release/xsl/1.75.2/epub/docbook.xsl"/>
and do the same thing, the correct file opens up in my editor. Horray!
Although I've solved the problem, why didn't it work the first time? The catalog.xml file for the 1.7.5.1 looks pretty similar to the 1.7.5.2 one (although I noticed the absolute path for 1.7.5.2 is http://docbook.sourceforge.net/release/xsl/current/ but for 1.7.5.1 it's http://docbook.sourceforge.net/release/xsl-ns/current/
Any idea? Thanks.
Robert