This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XT Extension functions




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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]