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]

RE: can I call java functions from within XSLT ??


Don't know about Sun's XSLTC. But in Xalan you can use extension functions.

check out http://xml.apache.org/xalan-j/extensions.html

-Vasu

> -----Original Message-----
> From: anand awasthi [mailto:anand-awasthi@usa.net]
> Sent: Friday, February 09, 2001 11:46 AM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] can I call java functions from within XSLT ??
> 
> 
> Hi,
> 
> 
> Depending upon the condtion given in XSL file ....I want to 
> trigger some java
> function  from within xsl itself ?? is there anyway to do it ?? 
> 
> for example : 
> 
> my xmls has following data :
> 
> <JartaXmlReport>
> 		<RowNum>444000</RowNum>
> 		<Sid>444</Sid>
> 		<PageUrl>/bmc.com/default.htm</PageUrl>
> 		<SessionStartupTime>44</SessionStartupTime>
> 		<PageTime>40</PageTime>
> 		<TransactionTime>400</TransactionTime>
> </JartaXmlReport>
> 
> 
> no i want my xsl to check the value of SessionStartuptime and if 
> its > 10 the trigger a function XYZ()...now i want to do this 
> within XSL
> itself ?? can i do this ?? 
> 
> 
> i am using Sun XSLTC compiler...
> 
> 
> tx
> AA 
> 
> 
> ____________________________________________________________________
> Get free email and a permanent address at 
> http://www.netaddress.com/?N=1
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 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]