What I use to get XML data (DOM) from a pipeline from flowscript is :

var pipe = 
cocoon.createObject(org.apache.cocoon.components.flow.util.PipelineUtil);
var doc = pipe.processToDOM("some/pattern", {});

see PipelineUtil javadoc for other usages.

laurent


2006/2/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Hi,
>
> I am trying to extract data from a XML source (XML file or Cocoon pipeline)
> for use in  a flowscript (actually it's an XML file containing quiz
> questions and the correct answers. I need to extract the answers to test if
> the user selected the correct choice).
>
> Any ideas?
>
> Regards
> Holger


--
<a href="http://in-pocket.blogspot.com";>http://in-pocket.blogspot.com
- Mobile world, technology and more</a>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to