What does below structure means in ftl? How do I create my own? Where can I find more info about it? Google doesn't seem to follow this.
@[someArray.someVariable]
Search by term XPath. @ in xpath mean "attribute". XPath is language of selecting nodes in XML.
<node attribute="value">
node[@attribute] = value in XPath.
If it was indeed a FreeMarker expression, then it means nothing special, as @
is a legal variable name. So it's just like myHash[whatever]
, only the variable is called @
, not myHash
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.