.source.SourceUtil.toDOM( srce );
...
}
Hope this helps!
Reinhard
-Original Message-
From: Frank Taffelt [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2003 9:34 AM
To: [EMAIL PROTECTED]
Subject: Re: reading xml from pipeline into a flow script
you can use this snippet:
function getStri
ent: Monday, June 30, 2003 9:34 AM
> To: [EMAIL PROTECTED]
> Subject: Re: reading xml from pipeline into a flow script
>
>
> you can use this snippet:
>
> function getString(src) {
> try {
> var is =
> cocoon
you can use this snippet:
function getString(src) {
try {
var is = cocoon.environment.resolveURI(src).getInputStream();
return
Packages.org.apache.cocoon.components.language.markup.xsp.XSPUtil.getContent
s(is);
}
catch(ex) {
print("ex:" + ex);
}
retur
Title: RE: reading xml from pipeline into a flow script
One simple way of accomplishing this is to simply, define pipeline to generate, transform, and serialize the xml. Then, in the flowscript, simply use the jaxp dom api to load the generated xml:
flow() {
var document