have you tried just building one through JAXB?
see javadoc for DocumentBuilder:

http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/DocumentBuilder.html#newDocument()

(haven't tried it, but I see no reason why it wouldn't just work)

-marc=


Paul Bowler wrote:
Can anyone give me some example flowscript to show one-way binding (i.e. display a new form and, once validated, save it to the binding uri).

The examples all use a 'document' DOM object which is first loaded from the binding URI, but I have no idea how to get one from the form 'model' for a new form.

Many thanks,

Paul.

--
Paul Bowler
Aventix Associates Ltd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- Marc Portier http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center Read my weblog at http://blogs.cocoondev.org/mpo/ [EMAIL PROTECTED] [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to