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

XT Extension functions

Subject: XT Extension functions
From: "Larry Mason" <Larry_Mason@xxxxxx>
Date: Fri, 3 Mar 2000 14:50:03 -0600
xsl barchart

I have a question on the type of parameter my XT extension function will see in
the following case.

 <xsl:template name="barchart">
   <xsl:param name="bar1_data" select="/data1"/>
   <xsl:param name="bar2_data" select="/data2"/>
   <xsl:param name="stacked">0</xsl:param>

   <xsl:value-of
select="Ext:maxValue(Ext:new(),$stacked,$bar1_data,$bar2_data)"/>

bar1_data and bar2_data are coming in as NodeIterator and I am handling that
just fine.
But what does 'stacked' come in as?  I have it defined as ResultTreeFragment
currently.
It executes but I have no idea how to get at the value, '0' in this case.  Any
help is greatly
appreciated.

Is there any really good documentation and examples on how this stuff works?

TIA,
Larry Mason

(using Nov 1999 version of XT)



 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.