Re: Beginner question: Accessing XML-Attributes via Template?
Daniel Dekany <[email protected]> Fri, 23 May 2014 23:10:13 +0200
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
It should be something like:
<#ftl ns_prefixes={"e":"http://example.com/ebook"}>
${someElement["@e:someAttribute"]}
--
Regards,
Daniel Dekany
Friday, May 23, 2014, 3:32:40 PM, mamathayv wrote:
> Hi all,
>
> Even i am facing the same problem while accessing attributes from xml with
> namespace.
> Please can any one help me.
>
> Thanks in advance.
>
> Regards,
> Mamta
>
>
>
>
> --
> View this message in context:
> http://freemarker.624813.n4.nabble.com/Beginner-question-Accessing-XML-Attributes-via-Template-tp626522p4655157.html
> Sent from the freemarker-user mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> FreeMarker-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freemarker-user
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs