Subject: RE: [xsl] dynamic sorting|
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 05 Feb 2004 12:35:48 -0500
Cool, thanks a lot. I didn't thought about the name()-function.
So if I understand name() well, both expressions should give the same result?
1. select="count(someNode)" 2. select="count(*[name() = someNode])"
What do you mean with "namespace-safe"? Can you give a situation in which the given solution would not work?
-- Public courses: sign up for one or both soon to reserve your seat! Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong, China: 2004-05-17 Bremen, Germany: 2004-05-24 World-wide on-site corporate, government & user group XML training
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc
|<- Previous||Index||Next ->|
|Re: [xsl] dynamic sorting, David Carlisle||Thread||RE: [xsl] dynamic sorting, Peter Billen|
|Re: [xsl] dynamic sorting, David Carlisle||Date||RE: [xsl] template matching, Wendell Piez|