AnsweredAssumed Answered

Problem with Freemarker <#assign directive

Question asked by karega on Oct 8, 2009
I am attempting to list all the XML files in a directory using the AVM api.  Problem is I run into an error specifically when I try to access  specific node and it's content.  The error is as follows…

Error during processing of the template 'Error on line 14, column 42 in pr/pressreleases.get.rss.ftl Expecting a string, date or number here, Expression pr_doc.press_release.title is instead a freemarker.ext.dom.NodeListModel'.

I really am new to FreeMarker and can only assume that this error is because the FreeMarker code is not traversing to the textnode of the XML.  Can anyone provide some extra insight of what I am doing wrong and how to fix it?

Outcomes