[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xsl or html?


Subject: Re: [xsl] xsl or html?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 15 Jun 2003 09:02:47 -0400

At 2003-06-15 00:35 -0400, dsk wrote:
After an html table is created with xsl and html, based
on an xml document, what is the best way to sort
value in the columns of the table?

One cannot change the result tree (in your case the HTML result tree) *after* it has been produced by the XSLT processor.


As a stylesheet writer, you are obliged to produce the result tree in result parse order.

Therefore, you must write your stylesheet such that it produces the HTML table in the result tree in the desired sorted order as it is being created.

I hope this helps.

.................. Ken

--
Upcoming hands-on courses: (registration still open!)
-      (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003

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)
ISBN 0-13-065196-6                      Definitive XSLT and XPath
ISBN 0-13-140374-5                              Definitive XSL-FO
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X              Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners:    http://XMLGuild.info
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc


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




Current Thread
Keywords