[xslt] XPath functions arguments
- From: Alexey Efimov <ave stacksoft ru>
- To: xslt gnome org
- Subject: [xslt] XPath functions arguments
- Date: Tue, 14 Jan 2003 18:50:07 +0300
Hello.
Is such concat() function behavior correct?
>cat test.xsl
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
<xsl:template match="/">
<xsl:value-of select="concat('a', 'b', )"/>
<!-- ^^^^^ -->
</xsl:template>
</xsl:stylesheet>
>
>xslproc test.xsl d1.xml
<?xml version="1.0"?>
ab
>
>xsltproc --version
Using libxml 20501, libxslt 10023 and libexslt 714
xsltproc was compiled against libxml 20428, libxslt 10023 and libexslt 714
libxslt 10023 was compiled against libxml 20428
libexslt 714 was compiled against libxml 20428
http://www.w3.org/TR/xpath#NT-FunctionCall says:
---
[16] FunctionCall ::= FunctionName '(' ( Argument ( ',' Argument )* )? ')'
---
but http://www.w3.org/TR/xpath#concat-func:
---
Function: string concat(string, string, string*)
---
With msxml I have an error message:
"Expression expected. concat('a', 'b', -->)<--"
Sorry, I cannot create a patch (if it's a bug) -- xpath.c is not fully
clear for me yet ;)
With best regards, Alexey.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]