Recuperate instance in XHTML file

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Recuperate instance in XHTML file

StephR
Hi all,

I thought after reading this (http://www.orbeon.com/ops/doc/reference-page-flow#accessing-submission), it was not possible to recuperate data in an xhtml file ("The view cannot access the XML submission document").
But I see that it is possible here: http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-instance-initialization-pfc. The ATM example shows an other example too.

I'm confused, could someone explain? If it is possible to recuperate anything from an xpl pipeline in an xhtml file, what's the point of using xsl (which is heavier)?

Thanks


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Recuperate instance in XHTML file

Erik Bruchez
Administrator
Steph,

It depends what you want to do with the data:

* If you just want to load it into an instance, then use  
xforms:instance/@src.
* If you want to perform a more complex inclusion, then use XInclude.
* If you want to do something even more complex, then use XSLT.

-Erik

On Nov 27, 2007, at 3:29 AM, Stephane Ruchet wrote:

> Hi all,
>
> I thought after reading this (http://www.orbeon.com/ops/doc/reference-page-flow#accessing-submission 
> ), it was not possible to recuperate data in an xhtml file ("The  
> view cannot access the XML submission document").
> But I see that it is possible here: http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-instance-initialization-pfc 
> . The ATM example shows an other example too.
>
> I'm confused, could someone explain? If it is possible to recuperate  
> anything from an xpl pipeline in an xhtml file, what's the point of  
> using xsl (which is heavier)?
>
> Thanks
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws