Subject: RE: [xsl] EXSLT From: Johan Thorèn (EAB) <Johan.Thoren@xxxxxxxxxxxxxxx> Date: Fri, 9 May 2003 10:14:30 +0200 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] EXSLT, Martinez, Brian | Thread | Re: [xsl] EXSLT, Jeni Tennison |
RE: [xsl] [saxon] unwanted line bre, mark_fletcher | Date | Re: [xsl] Scope of variables, David Carlisle |
Month |