[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Vertical table display with sort
You are right. It works fine. The problem is I don't know the object name. (like hereyougo) <xsl:variable name="temp" select="name(o/com/*)"/> Can I declare some variable like this and use it inside <xsl:for-each select="o/com/$temp/*">? I suppose this will throw error. thanks, sundar -----Original Message----- From: Zink, Juergen [mailto:Juergen.Zink@xxxxxxxxxxxxxxxxxxxx] Sent: Wednesday, April 30, 2003 3:46 PM To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: AW: Vertical table display with sort Importance: Low Hi, <snip> >You can't explicitly say the element name >hereyougo is the element name. If you go thro the >xml file, it can be different element for the next pair. <snip> It is only to get the sorted values of displayposition. Like 1, 2, 3, 4. It could be any single pair, even the last one. Or even better, in some other single tags. There can be any number with any name following. As much columns are printed as you have elements following. The code will still work. Juergen XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|