Think you should take a look at the streamgenerator, that should do the job
AS > > > I am quite new to flowscript, so this is a basic quesiton... > However, I have not been able to get any of the examples I found on > Google to work. > > I have the following flowscript: > function cleanWordHtml() { > > var base = Packages.java.lang.String(cocoon.parameters["base"]); > var page = Packages.java.lang.String(cocoon.parameters["page"]); > var output = new Packages.java.io.ByteArrayOutputStream(); > > cocoon.processPipelineTo("filesystem.cleanwhtm/"+base+"/"+page > ,null,output); > > var cleanxml = output.toString(); > > cocoon.sendPage("shapecms_upload.diskutera", {cleanxml: cleanxml}); > } > > It reads a Cocoon pipeline, which converts a Word HTML file to XML. > Then it sends this as a string in a parameter, to a pipeline that > processes it further. > > What I *would like* to do, is to send XML in the parameter, > instead of a string. > Is this possible? Does anyone have a solution for me? > > Best regards > Hans > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]