> From: Chitharanjan Das [mailto:[EMAIL PROTECTED]]
>
> Hello All,
<snip/>
> As indicated above, the sitemap returns an SVG document for a given
XML.
>
> The code snippet of my JSP page looks like
Hm. Why JSP?
> <html>
> ...
> <%
> Iterator itr = request.getAttribute("Graphs");
> String graphXML = null;
> If (itr.hasNext()) {
> graphXML = (String) itr.next();
> graphXMLStream = new
> ByteArrayInputStream(graphXML.toBytes[]};
> %>
> //invoke the pipeline entry svgxmlstream and use
> the embed command
> ...
> ...
> <html>
>
------------------------------------------------------------------------
> ------------
>
>
> My questiona are
>
> 1.how does one invoke a pipeline with a stream type
> generator.(Preferably with a cinclude transformer)
IIRC, you should POST XML there.
> 2. Is it possible to invoke Pipelines via java API calls (not through
> URL)
See CocoonServlet.java or Main.java. Or java.net.URL.
> 3. Is there any pointer to documentation as how to use Cocoon from
> Command line
see run.bat
Vadim
> Thanks a lot it advance,
>
> Regds,
> Chiths
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>