W3C home > Mailing lists > Public > public-forms@w3.org > December 2011

submission/@replace="text"

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Fri, 02 Dec 2011 13:30:22 +0100
To: "Forms WG" <public-forms@w3.org>
Message-ID: <op.v5u3owlxsmjzpq@steven-750g>
In submission, we allow replace="text" to replace a subtree of an instance  
with text from the response.

If the response is XML, we "encode it as text" (which we don't seem to  
define), and then use that as replacement text.

So here's a question: since we deal with JSON by converting it to XML,  
should replace="text" work with responses that are JSON?

	JSON→XML→text

Steven
Received on Friday, 2 December 2011 12:30:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:56 UTC