Java Mailing List Archive

Home » FreeMarker-user »

[FreeMarker-user] Get Node Value from Attribute



Replies: Find Java Web Hosting

Author LoginPost Reply
Hi all,

Please help me how to access the value of Node that has attribute

Let say my data like this
<data label="CompanyName">Telstra Corporation Limited</data>
<data label="GICSIndustry">Diversified Telecommunication Services</data>
<data label="LastClose">3.25</data>
<data label="GICSIndustryGroup">Telecommunication Services</data>
<data label="GICSSector">Telecommunication Services</data>

I can access it from <data> index like ${doc.header.doc[2]} but I don't know
how to access it from @label value.

I try many ways but still got error

Please help.....

Sent from the freemarker-user mailing list archive at

Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
FreeMarker-user mailing list
©2008 - Jax Systems, LLC, U.S.A.