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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format