[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: error in variable statement

Subject: Re: error in variable statement
From: Owen Rees <owen.rees@xxxxxx>
Date: Thu, 15 Feb 2007 10:58:40 +0000
Re:  error in variable statement
--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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.