Subject: RE: [xsl] need a substitue for the current() function From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Tue, 13 Nov 2001 00:03:38 -0000 |
> 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()]"> What exactly are the choking symptoms? > > 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? I suspect your logic is wrong, and that replacing it with equivalent logic will therefore just reproduce the same symptoms, but in nearly all cases you can replace current() with $current, having previously assigned $current to ".". Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] need a substitue for the , Oleg Tkachenko | Thread | [xsl] Confusion over /, //, current, Brian_Williams |
Re: [xsl] Confusion over /, //, cur, David Carlisle | Date | RE: [xsl] Confusion over /, //, cur, Michael Kay |
Month |