W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > February 2007

Re: Load Component

From: Alessandro Vernet <avernet@orbeon.com>
Date: Wed, 31 Jan 2007 17:46:49 -0800
Message-ID: <4828ceec0701311746k4b8b9291uf34da622d1cfe71e@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

On 1/31/07, Innovimax SARL <innovimax@gmail.com> wrote:
> that's interesting, on which signal, you would detect that it is *not*
> an XML document ?

With HTTP for instance, you get a content type. If it is not
application/xml or similar, the component could attempt to convert it
to XML. Say it is text/html: the component can run something like HTML
Tidy so you get XML. This is what we do (if you choose to do so) in
the URL generator, which is Orbeon Forms "load component". See an
example at:

http://www.orbeon.com/ops/doc/processors-generators-url#html-mode

Alex
-- 
Orbeon Forms - Web Forms for the Enterprise, Done the Right Way
http://www.orbeon.com/
Received on Thursday, 1 February 2007 01:47:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:49 GMT