Subject: RE: [xsl] dynamic sorting From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 06 Feb 2004 07:19:31 -0500 |
But how do I combine test="self::book:title" with a variable $sort,
<xsl:param name="sort-name"/> <xsl:param name="sort-uri"/>
<xsl:sort select="*[local-name()=$sort-name and namespace-uri()=$sort-uri]"/>
but test="self::book:$sort" will probably not work
-- Public courses: upcoming world tour of hands-on XSL training events Each week: Monday-Wednesday: XSLT/XPath; Thursday-Friday: XSL-FO Washington, DC: 2004-03-15 San Francisco, CA: 2004-03-22 Hong Kong: 2004-05-17 Germany: 2004-05-24 England: 2004-06-07 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] dynamic sorting, Michael Kay | Thread | Re: [xsl] dynamic sorting, David Carlisle |
[xsl] Selecting a Element by ID, Andreas Grytz | Date | Re: [xsl] concating strings in a lo, Jarkko . Moilanen |
Month |