Re: Load Component

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 UTC