- From: Daniel Fowler <daniel.fowler@focus-solutions.co.uk>
- Date: Tue, 1 Jun 2004 11:51:38 +0100
- To: 'Gary Stewart' <gary@deltagreen.co.uk>, "'www-forms@w3.org'" <www-forms@w3.org>
The XForms 1.1 Requirements does list the ability to use XForms as XML Editors http://www.w3.org/TR/xforms-11-req/#xml-editor DAN -----Original Message----- From: Gary Stewart [mailto:gary@deltagreen.co.uk] Sent: 31 May 2004 13:04 To: Thompson, Bryan B. Cc: 'www-forms@w3.org' Subject: Re: Is editing of literal XML supported using XForms? > Overall I am quite pleased by the extent to which XForms 1.0 supports > this activity. However, I am curious whether or not XForms permits > the user to edit XML data directly, e.g., in a big old textarea with > a lot of angle brackets in it. I see this as useful primarily in a > fall-back mechanism supporting direct editing of the XML resource when > there is, as yet, no vocabulary specific XForm for that purpose. This > was something that you could do in the HTML FORM, but it seems like the > use of XPath to identify an updatable binding in the XML instance data > might make this no longer possible. I am pretty certain that it doesn't allow direct editing of XML data. However you can write XML data in a text area which is then escaped to character data, therefore you could also populate an instance with XML data by escaping the data you want inserted. It was also something that I tried to do with XForms (when designing a form that could add any tags to a HTML "header" space) see http://lists.w3.org/Archives/Public/www-forms/2004Apr/0006.html. I'm not sure whether it would be feasible or not to try and make it an XForms 1.1 requirement, or whether the committee sees it as a useful feature. Hope this information was helpful, Gary
Received on Tuesday, 1 June 2004 06:52:15 UTC