xsl-list
[Top] [All Lists]

Re: XSL to XSLT conversion issue

2003-04-15 15:04:18
At 04:40 PM 4/15/2003, Simon wrote:
As far as getting the position() from current() (the XSLT context rather than the XPath context) not sure how you'd do that. You may need to refactor, it certainly should be doable. I don't suppose current()/position() works?

No, but it is easy enough to bind the position of the current node outside a predicate or other context that changes the context node, then test against the variable.

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list