[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: EXSLT

Subject: RE: EXSLT
From: Johan Thorèn (EAB) <Johan.Thoren@xxxxxxxxxxxxxxx>
Date: Fri, 9 May 2003 09:05:14 +0200
johan thor n
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:  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:  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:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.