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

Error...

Subject: Error...
From: Cheun N Chong <cnc99r@xxxxxxxxxxxxxxx>
Date: Wed, 24 May 2000 15:32:51 +0100 (BST)
substring xsl error
Hi all,

	I have tried the codes that Jeni kindly sent me (she is using
SAXON, but I am using LotusXSL). I have got the following error signals:

cnc99r213% xmlxsl -in ticket.xml -xsl ticket2xml.xsl expire='5 May 2000' -out out.xml

Invalid option: expire=5
Invalid option: May
Invalid option: 2000
========= Parsing file:/home/cnc99r/Project/XML/tickets/ticket2xml.xsl
==========
XSL Error: pattern =
'document('')//fo:month[@name=substring-before(substring-after($expire, '
'), ' ']/@num)'
Expected ,, but found: ]
 Remaining tokens: ( '/' '@' 'num' ')'), style tree
node: org.apache.xalan.xslt.ElemVariable@3b666799
XSL Error: Could not parse
file:/home/cnc99r/Project/XML/tickets/ticket2xml.xsl document!, Location
file:/home/cnc99r/Project/XML/tickets/ticket2xml.xsl, line 13, offset 103
XSL Error: processStylesheet not succesfull!, Location
file:/home/cnc99r/Project/XML/tickets/ticket2xml.xsl, line 13, offset 103
XSLT: pattern =
'document('')//fo:month[@name=substring-before(substring-after($expire, '
'), ' ']/@num)'
Expected ,, but found: ]
 Remaining tokens: ( '/' '@' 'num' ')')
Xalan: was not successful.
XSLProcessor: done

	Is there anyone that can perhaps direct me to some relevant
information that might be helpful. Thanks to Jeni for her kindness and
help. Wish you all the best.



Best regards,
Cheun Ngen CHONG




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.