- From: John Boyer <JBoyer@PureEdge.com>
- Date: Mon, 5 Apr 2004 09:04:19 -0700
- To: "Gary Stewart" <gary@deltagreen.co.uk>, <www-forms@w3.org>
Hi Gary, FYI, editing XML in a text area is also not a requirement of XForms 1.1. In XForms 1.0, the form must contain or link to the data using an instance element. In XForms 1.1, you will be able to associate XML data with a compatible XML form so that by choosing to edit the data, you will automatically be able to do so using the associated form. Regards, John Boyer -----Original Message----- From: Gary Stewart [mailto:gary@deltagreen.co.uk] Sent: Monday, April 05, 2004 3:06 AM To: www-forms@w3.org Subject: Editing XML in Forms I was wondering about editing XML in, say a textarea, in XForms. I suspect that there is no easy way to do this as it is a requirement for XForms 1.1 (Section 2.4 "XForms Processor as XML Editor"). Has anyone tried any solutions for this? I could write a backend script that upon submit, transforms entity data back into characters (though might result in an invalid XML document so it might have to be revalidated). However this would only work where this isn't then required to be read by an XForms form (you wouldn't be able to "re-edit" the document without first performing a character to entity on the relivent parts). Is my understanding correct about the methods required to edit XML data? Thanks, Gary
Received on Monday, 5 April 2004 12:04:57 UTC