xsl-list
[Top] [All Lists]

RE: EXSLT

2003-05-08 09:37:10
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(_dot_)Thoren(_at_)era(_dot_)ericsson(_dot_)se]
Sent: 06 May 2003 15:05
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
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(_at_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>