Re: New Xml files with CForm bindings

2005-08-29 Thread Thomas Lutz
Victoria Vitaver wrote: Thanks, unfortunately this also doesnt work ... after experimenting a little I have realised that my bindings seem to be completely ignored! ie if I simply have xmlns:fb="http://apache.org/cocoon/forms/1.0#binding"; xmlns:fd="http://apache.org/cocoon/forms/1.0#defini

Re: New Xml files with CForm bindings

2005-08-28 Thread Victoria Vitaver
Max Pfingsthorn wrote: Hi! Well, your result xml has to be well-formed, so I guess it makes up a root element by itself. Try saying path="/Package" in the root context instead of path="/" and drop the extra context inside. http://apache.org/cocoon/forms/1.0#binding"; xmlns:fd="http://apache.or

Re: New Xml files with CForm bindings

2005-08-26 Thread Thomas Lutz
Are you sure your binding is correct ? As far as I see your root fb:context binds to /, and the next binding tag is a fb:set-attribute ? Try moving the info of the second fb:context path into the root context. HTH, tom Victoria Vitaver wrote: Hi, I am trying to create an input form, which

Re: New Xml files with CForm bindings

2005-08-26 Thread Max Pfingsthorn
Hi! Well, your result xml has to be well-formed, so I guess it makes up a root element by itself. Try saying path="/Package" in the root context instead of path="/" and drop the extra context inside. http://apache.org/cocoon/forms/1.0#binding"; xmlns:fd="http://apache.org/cocoon/forms/1.0#defini

New Xml files with CForm bindings

2005-08-26 Thread Victoria Vitaver
Hi, I am trying to create an input form, which upon 'submit' gets saved as an XML file. I have successfully been able to get the XML file with all info bar the root node. The root node of my new XML file appears as '' with all other info/nodes inside. Any hints on what I am doing wrong will

New Xml files with CForm bindings

2005-08-26 Thread Victoria Vitaver
Hi, I am trying to create an input form, which upon 'submit' gets saved as an XML file. I have successfully been able to get the XML file with all info bar the root node. The root node of my new XML file appears as '' with all other info/nodes inside. Any hints on what I am doing wrong will