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

RE: EXSLT

Subject: RE: EXSLT
From: Johan Thorèn (EAB) <Johan.Thoren@xxxxxxxxxxxxxxx>
Date: Fri, 9 May 2003 10:14:30 +0200
xsl exslt string
I think the error message is clear. But according to 

http://www.exslt.org/str/index.html 

the concat(node-set) should work with EXSLT. 

Why Im trying with concat is that I need the string as a variable 
and not in the output. 

Regards
Johan


-----Originhttp://www.exslt.org/str/index.htmlal Message-----
From: Michael Kay [mailto:mhk@xxxxxxxxx]
Sent: den 9 maj 2003 10:04
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  EXSLT


> Below results in the following error 
> 
> SystemId Unknown; Line #5; Column #71; XSLT Error 
> (javax.xml.transform.TransformerConfigurationException): 
> javax.xml.transform.TransformerException: 
> javax.xml.transform.TransformerException: FuncConcat only 
> allows >1 arguments
> 
> Someone knows why?
> 

The error message "FuncConcat only allows >1 arguments" is not
particularly good English, but it means that the concat function
requires two or more arguments. I would have thought most programmers
would be able to read this message, look up concat() in the spec, and
see that it does indeed require two or more arguments. 

You would then also find that concat() turns each of its arguments into
a (single) string, and concatenates the results. 

You are trying to concatenate the string values of all the nodes in a
node-set. I don't know why you are trying to use concat() for that
because an earlier message on the thread that you are quoting tells you
exactly how to do it.

Michael Kay 


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

 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.