W3C home > Mailing lists > Public > www-forms@w3.org > June 2004

RE: Is editing of literal XML supported using XForms?

From: Daniel Fowler <daniel.fowler@focus-solutions.co.uk>
Date: Tue, 1 Jun 2004 11:51:38 +0100
Message-ID: <30A02A46CB77D511851900508BAEADBCD1F8E5@exchange.focus-internal.co.uk>
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



-----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

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

Hope this information was helpful, 


Received on Tuesday, 1 June 2004 06:52:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:13 UTC