|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] dynamically generate stylesheet parts
My XML source with a database-like table gets an URL-encoded parameter. (e.g. ?sort=3,4,7 This parameter is just passed to the stylesheet which then converts the table into an HTML <table> and sorts its rows by the columnnumbers provided by the parameter. The upper example then means: sort rows with column 3 as first key, 4 as second key and so on... This would map to this in an XSL: ... <xsl:sort select="column[@nr=3]" /> <xsl:sort select="column[@nr=4]" /> <xsl:sort select="column[@nr=7]" /> ... My problem is, that I don't know how many of those <xsl:sort are needed. So I need to generate this part of my stylesheet dynamically. Can I use <xsl-call-template> and <xsl:text> or is this not possible? Rob ________________________________________________________________ Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








