xsl-list
[Top] [All Lists]

RE: Vertical table display with sort

2003-04-30 04:19:35
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(_dot_)Zink(_at_)wuerttembergische(_dot_)de]
Sent: Wednesday, April 30, 2003 3:46 PM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
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



<Prev in Thread] Current Thread [Next in Thread>