This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: need a substitue for the current() function
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] need a substitue for the current() function
- From: "Oleg Tkachenko" <olegt at multiconn dot com>
- Date: Mon, 12 Nov 2001 23:32:27 +0200
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Dennis!
<xsl:variable name="currNode" select="."/> ?
---
Oleg Tkachenko,
Multiconn International, Israel
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Dennis
> Campillo
> Sent: Monday, November 12, 2001 10:45 PM
> To: XSL-List@lists.mulberrytech.com
> Subject: [xsl] need a substitue for the current() function
>
>
> Greetings All,
>
> we are using the xalan processor on an AS400 at work, and for
> some reason it
> seems to choke everytime I use the current() function.
>
> i.e. <xsl:for-each select="//Ledger_Entry[.//Long_Name=current()]">
>
> Does anyone know how to write a "longhand" version of the
> current() function
> which will return a node-set that has the current node as its only member?
>
> my source doc(in case it's needed), looks like the following:
>
> <accountelement>
> <Ledger_Element>
> <Number_of_Entries>290</Number_of_Entries>
> <Ledger_Entry>
> <Transaction_Description>PURCHASE</Transaction_Description>
> <Long_Name>AIMS ASSET ALLOCATION PROGRAM/IMS</Long_Name>
> <Quantity>0</Quantity>
> <Amount>-150000.00</Amount>
> <Trade_Date>07/28/1997</Trade_Date>
> </Ledger_Entry>
>
> Thanks in advance for any assistance forthcoming.
>
> Dennis Campillo
> dcampillo@msn.com
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list