Subject: RE: [xsl] Vertical table display with sort From: Sundar Shanmugasundaram <SSHANMUGASUNDARAM@xxxxxxxxxxxxx> Date: Wed, 30 Apr 2003 16:49:35 +0530 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Adding line feed using f, XSL Chatr | Thread | Re: [xsl] Vertical table display wi, David Carlisle |
Re: [xsl] getting xml file info, Stephane Bortzmeyer | Date | Re: [xsl] Adding line feed using f, Oleg Tkachenko |
Month |