cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rui Alberto L." Gonçalves <rui-l-goncal...@ptinovacao.pt>
Subject Re: request attribute / xml
Date Mon, 02 Aug 2004 11:13:53 GMT
Thanks a lot!! That's it what a really need!!

Rui

On Mon, 2004-08-02 at 11:57, gounis@osmosis.gr wrote:
> take a look at this sample
> 
> 
> http://localhost:8888/samples/stream/uploadstring
> 
> -- stavros 
> 
> On Mon, 2 Aug 2004, Rui Alberto L. [ISO-8859-1] Gonηalves wrote:
> 
> > Hi all,
> > 
> > I have an html page with a list of items. The user is
> > allowed to switch items position and optionally create
> > "folders" and place some items inside this folder. (Done
> > with javascript) Once the user is happy with the selections, submits 
> > the request and there's a request attribute  witch its value is a
> > String (with xml syntax) representing what the user submitted.
> > Ex:
> > <doc>
> >  <item>A</item>
> >  <folder name="I created this folder and placed items B and C inside">
> >    <item>B</item>
> >    <item>C</item>
> >  </folder>
> >  <item>D</item>
> > </doc>
> > 
> > I need to transform this string to XML for further processing
> > with cocoon. 
> > 
> > Does cocoon offers some way to help solving this problem? Anyone
> > wold like to suggest a better approach to this problem? (changing
> > the way the request is done, etc... ? )
> > 
> > I can use RequestGenerator and then pass a stylesheet and
> > parse this string with xslt, but this does't look clean.
> > 
> > Thanks for any help, opinion, suggestion, etc...
> > 
> > Rui
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
-- 
Rui Alberto L. Gonçalves <rui-l-goncalves@ptinovacao.pt>
PT Inovação


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message