AnsweredAssumed Answered

Web Form Output Path Error

Question asked by a_band on Oct 18, 2007
Latest reply on Oct 30, 2007 by a_band
I've got a web form created and it was working fine until I tried modifying the output path to use xml data from the document. I'm trying to get the output file to be generated into a directory based on a user-defined value in the web form.

Here's the output path:


Here's the web form XSD:

<xs:schema xmlns:xs=""




   <!– defines the form for creating a press release –>

   <xs:element name="article">



            <xs:element name="title" type="xs:normalizedString" />

            <xs:element name="author" type="xs:normalizedString" />

            <xs:element name="article_category" type="xs:normalizedString" />

            <xs:element name="teaser" type="xs:string"/>

            <xs:element name="keywords" type="xs:normalizedString" minOccurs="0" maxOccurs="unbounded" />

            <xs:element name="body" type="xs:string" minOccurs="1" maxOccurs="unbounded" />

                 <xs:element name="–" minOccurs="0"




                     <xs:element name="image" type="xs:anyURI" minOccurs="0" maxOccurs="1"/>

                     <xs:element name="caption" type="xs:normalizedString" minOccurs="0" maxOccurs="1"/>

                     <xs:element name="page_number" type="xs:integer" minOccurs="0" maxOccurs="1"/>




            <xs:element name="publish_date" type="xs:date"/>





Everything looks good but when I try to save this I get this error:

Please correct the errors below then click Finish.

* Error processing output path pattern <#ftl ns_prefixes={ "alf":"", "article":"", "chiba":"", "ev":"", "xf":"", "xhtml":"", "xs":"", "xsi":""}> /${webapp}/articles/${xml['article:article/article:title']}/${name}.xml for Baking Bread in webapp ROOT: Error during processing of the template 'Error on line 10, column 23 in string://fixed Expecting a string, date or number here, Expression xml['article:article/article:title'] is instead a freemarker.ext.dom.NodeListModel'. Please contact your system administrator.