Use "value" as an attribute name

Upravdom <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Hello folks.

Let's say I have an XML like this:
<items>
<item param="123" value="456"/>
<item param="123" value="456"/>
<item param="123" value="456"/>
</items>

How do I get the value of the attribute "value"?
If I iterate through list of "items", making that list a "var" sequence
variable, then var.value.value doesn't seem to be working.

Any ideas?
-- 
View this message in context: http://freemarker.624813.n4.nabble.com/Use-value-as-an-attribute-name-tp2551175p2551175.html
Sent from the freemarker-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.