RE: [xsl] EXSLT

Subject: RE: [xsl] EXSLT
From: Johan Thorèn (EAB) <Johan.Thoren@xxxxxxxxxxxxxxx>
Date: Fri, 9 May 2003 09:11:40 +0200
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?

Regards
Johan


-----Original Message-----
From: Johan Thorèn (EAB) 
Sent: den 9 maj 2003 09:05
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: [xsl] EXSLT



This ought to be working with EXSLT. But dont! Any ideas?

<xsl:template match="*"> 
   <xsl:variable name="allnodename" select="concat(ancestor-or-self::*)"/>
   <xsl:apply-templates/>
</xsl:template>

Cheers
Johan


-----Original Message-----
From: Johan Thorèn (EAB) 
Sent: den 9 maj 2003 08:40
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE: [xsl] EXSLT



Im interested in something like this. Any ideas of how to make this work?

<xsl:for-each select="$node-set">
   <xsl:variable name="allnodename" select="concat($allnodename,'-',name()"/>
</xsl:for-each>

Greetings
Johan


-----Original Message-----
From: Wendell Piez [mailto:wapiez@xxxxxxxxxxxxxxxx]
Sent: den 8 maj 2003 18:37
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] EXSLT


Also, many times you don't actually need the function, since you can 
stringify a node set by iterating over it:

<xsl:variable name="RTF-value">
   <xsl:for-each select="$node-set">
     <xsl:value-of select="."/>
   </xsl:for-each>
</xsl:variable>

Then you might actually want "string($RTF-value)" to get a true string (so 
if it's empty it'll test false, as an RTF won't, etc.).

Cheers,
Wendell

At 10:27 AM 5/6/2003, you wrote:
>check out
>http://www.exslt.org/str/functions/concat/index.html
>
>at the moment I do believe this is supported by latest ver of xalan ( java )
>http://xml.apache.org/xalan-j/extensionslib.html
>http://xml.apache.org/xalan-j/apidocs/org/apache/xalan/lib/ExsltStrings.html
>
>gl, jim fuller
>
>-----Original Message-----
>From: Johan Thorèn (EAB) [mailto:Johan.Thoren@xxxxxxxxxxxxxxx]
>Sent: 06 May 2003 15:05
>To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
>Subject: [xsl] EXSLT
>
>
>
>Anyone who has tried the EXSLT concat(node-set) function.
>Can I use this to get a string representation of a nodeset?


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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

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

 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