xsl-list
[Top] [All Lists]

Re: [xsl] error in variable statement

2007-02-15 03:59:06
--On Wednesday, February 14, 2007 16:16:16 -0800 Mario Madunic wrote:

     [xslt] : Error! Syntax error in 'if (string-length(//pubdate) gt 0)
then //pubdate else $g_Unknown'.
     [xslt] : Error!
file:/C:/RBI/isoTest/templates/globals/g_Globals.xsl: line 43: Error
parsing XPath expression 'if (string-length(//pubdate) gt 0) then
//pubdate else $g_Unknown'.
     [xslt] : Error!
file:/C:/RBI/isoTest/templates/globals/g_Globals.xsl: line 43: Required
attribute 'select' is missing.

Those are not Saxon error messages.

stumped and don't quite know what is wrong. working before i switched to
8.9.

Any help would be greatly appreciated.

You are attempting to invoke Saxon from Ant. A technique that I use for doing that which used to work seems not to work any more with Saxon8.9. Since this is an issue specific to Saxon rather than general XSLT it would be better to pursue it on the saxon-help mailing list.

--
Owen Rees
Hewlett Packard Laboratories, Bristol, UK


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--