Link to home
Start Free TrialLog in
Avatar of ethar turky
ethar turkyFlag for Saudi Arabia

asked on

populate a list xml xsl

Sear all,
How say this phrase:
<xsl:for-each select="/Component/Lists/List[@name = '@ListName' ]/Item">

where @ListName attribute of current node.


thanks,
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ethar turky

ASKER

can do it with another way , without using variable?
what is the point in doing it without a variable?

it is XSLT no? I am pretty certain the most robust way is with a variable.
I guess you could use current(), but I find that less readable, easier to break in a later maintenance cycle and most likely less performant