oxf:xml-serializer doubt

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

oxf:xml-serializer doubt

Manesh Kumar
Hi ,

I am trying to load a new page (view.xsl) by getting data from a model
(load-view.xpl).
In the last <oxf:xslt processor>  of  load-view.xpl , i have written  
<p:output name="data" ref="data" /> .
It's working fine for me.And the view page is getting data from model.

My doubt is

1) can i use  <p:processor name="oxf:xml-serializer"> in this situation ?
2)what's the basic difference  between two approach ? ( 1. <p:output
name="data" ref="data" />   2. <p:processor name="oxf:xml-serializer"> )
3)Which approch is good among the above 2 methods.( i am using orbeon as a
portlet in jetspeed portal engine) ?
4)Is there any kind of memory/url related  variation , that will happen in
the above 2 methods.

regards :) ,
Manesh

_________________________________________________________________
Spice up your IM conversations. New, colorful and animated emoticons. Get
chatting! http://server1.msn.co.in/SP05/emoticons/




--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: oxf:xml-serializer doubt

Alessandro Vernet
Administrator
Manesh,

On 9/6/07, Manesh Kumar <[hidden email]> wrote:
> 1) can i use  <p:processor name="oxf:xml-serializer"> in this situation ?

In the model? The XML serializer transforms the XML document into
text. So in general you don't want to do that. You want the view to
get the XML as-is.

> 2)what's the basic difference  between two approach ? ( 1. <p:output
> name="data" ref="data" />   2. <p:processor name="oxf:xml-serializer"> )

I don't thing that the oxf:xml-serializer does what you want in this case.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws