This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL: For-Each Efficient or Not?
- From: Wendell Piez <wapiez at mulberrytech dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 01 Jul 2002 17:46:44 -0400
- Subject: RE: [xsl] XSL: For-Each Efficient or Not?
- References: <5.1.0.14.0.20020701122957.0295e840@earthlink.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Mike,
At 03:11 PM 7/1/2002, you wrote:
It's not that difficult. Saxon doesn't quite achieve this today but it
will in the next release (I just tested it).
X[position() = 1 and name()='factorof']
can be statically rewritten as
X[1][name()='factorof']
That's cool!
Will it do the same for X[name()='factorof' and position()=1] ?
Cheers,
Wendell
======================================================================
Wendell Piez mailto:wapiez@mulberrytech.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