Re: Use "value" as an attribute name
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Thursday, September 23, 2010, 7:48:46 PM, Upravdom wrote: > > Hi Daniel, > > Nope, tried that of course and it didn't work. > > But – been able to get to that key. Had to list all keys from the hash (var) > and the key name turned out to be "_value". So doing this works just fine: > var._value.value Then that XML wasn't wrapped with our standard XML wrapper. How you see the XML depends on what it was wrapped with... so if that was a custom wrapper, of course we couldn't know how to access the attributes... > Very interesting and important thing to know (thanks JL). -- Best regards, Daniel Dekany ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ FreeMarker-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemarker-user