Hi,
a velocity syntax page -- http://velocity.apache.org/engine/devel/user-guide.html#Loops -- mentions a "Hashtable". However there's no mentioning how to create one in this language.
So if you could show how to do this -- so that I could write smth. like
#foreach( $key in $foo.keySet() )
<li>Key: $key -> Value: $foo.get($key)</li>
#end
-- I'd greatly appreciate your help.
Thanks in advance!
// PS: my original problem is : http://stackoverflow.com/questions/3348029/mechanical-turk-cmd-line-tools-qualification-set-and-foreach-in-xml So please understand that I am not interested in learning Velocity -- I only need one quick hack if possible. Thanks.