Re: [xslt] libxslt
- From: John Hurst <ajh hawthorn csse monash edu au>
- To: xslt gnome org
- Subject: Re: [xslt] libxslt
- Date: Mon, 23 Jul 2001 14:15:46 +1000
<received from=""William M. Brack"" date="23 Jul 2001" time="11:09">
<response>
G'day "William M. Brack",
Thanks for that! It explains everything, and when I moved the include,
fixed the original problem.
I did in fact use the approach you suggest: but I chose 4xslt as the
alternate, and since it accepts the include at the non-top level, was
lulled into a false sense of what was the "proper" behaviour!!
I must say I was impressed with the speed and clarity with which you
fellows responded to my problem -- well done!
</response>
http://www.w3.org/TR/1999/REC-xslt-19991116#include :
The xsl:include element is only allowed as a top-level element.
http://www.w3.org/TR/1999/REC-xslt-19991116#dt-top-level :
An element occurring as a child of an xsl:stylesheet element is called
a top-level element.
So, the answer to your original question 'I don't understand what the
"include was not compiled" msg means.' should perhaps be "The xslt
processor was unable to recognize the <xsl:include> within the context
in which it appeared".
On a more serious note, the overriding concern of libxslt is to provide
a very fast and efficient transformation of well-formed stylesheets.
There are many instances where error conditions within the stylesheet
produce messages which take substantial effort to decode (I
personally often resort to running the problem sheet through one of
the "competing" processors [saxon is my favourite, but in this particular
instance:
[wbrack@infobase1 wbrack]$ java com.icl.saxon.StyleSheet aus.xsl aus.xsl
Failed to compile style sheet
At xsl:copy-of on line 9 of file:/home/wbrack/aus.xsl: Variable StyleInfo
has
not been declared
it is also somewhat cryptic]).
Regards,
W. Brack
_______________________________________________
xslt mailing list
xslt@gnome.org
http://mail.gnome.org/mailman/listinfo/xslt
</received>
cheers,
--John Hurst
-- Associate Dean (Teaching), Faculty of Information Technology
-- Associate Professor, School of Computer Science and Software Engineering
--rm G23, Building 63
--PO Box 26, Monash University, Clayton, VIC 3168 ~ ~~~&#:
--ajh@csse.monash.edu.au +61 3 990 55192 _..___ ---____@___H__
--(mob 0407 569 041) (fax +61 3 990 55146) |_____[_|_________[__]_
--http://www.csse.monash.edu.au/~ajh oo oo oo O--O--O o=o
--free times, see http://www.csse.monash.edu.au/~ajh/cgi-bin/appointments.cgi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]