Re: [xslt] Version Differences



OK thats good to know... is there anyway of determining which version of libxslt were using so i can control this as it will be running on new AND old copies... like a variable of some sort i can run a conditional against?

---
Glenn R. Martin

C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg. -- Bjarne Stroustrup


On Jun 24, 2006, at 12:09 PM, Tim Van Holder wrote:

Glenn R. Martin wrote:
Failure (Ubuntu Dapper): 
grmartin lain:~/Development/MV/Documents/Framework Manual$  xsltproc -o
manual.html ../DocBook\ Kit/Customized\ Temp lates/html.xsl file.xml
warning: failed to load external entity
"../docbook-xsl-current/html/docbook.xsl"
compilation error: file ../DocBook Kit/Customized Templates/html.xsl
line 5 element import
xsl:import : unable to load ../docbook-xsl-current/html/docbook.xsl

Working (MacOS X/Darwin 10.4):
gilliam:~/Desktop/MoltenVisuals/Documents/Framework Manual glennmartin$
xsltproc -o manual.html ../DocBook\ Kit/Customized\ Templates/html.xsl
file.xml
Stripping NS from DocBook 5/NG document.
Processing stripped document.

Here is line lines 1-7 of the complaining XSL file:
<?xml version='1.0'?>
<xsl:stylesheet 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:import href=""/>

<xsl:preserve-space elements="programlisting screen synopsis" />

Well, my _guess_ would be that the semantics of "../" in includes was
changed to be relative to the file doing the including, not the current
directory of the process (or vice versa).  Such a change would have to
be in the ChangeLog of libxslt or of its Ubuntu package (depending on
whether it's plain libxslt behaviour or ubuntu-local changes).
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]