Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 92640 invoked from network); 4 Jun 2005 20:17:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jun 2005 20:17:35 -0000 Received: (qmail 41602 invoked by uid 500); 4 Jun 2005 20:17:29 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 41580 invoked by uid 500); 4 Jun 2005 20:17:29 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 41566 invoked by uid 99); 4 Jun 2005 20:17:28 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_FAIL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of zbomert@dominikanie.pl designates 80.241.128.26 as permitted sender) Received: from tx.twins.pl (HELO tx.mail.twinsnet.pl) (80.241.128.26) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 04 Jun 2005 13:17:27 -0700 Received: from rx.twins.pl (rx.mail.twinsnet.pl [80.241.128.70]) by tx.mail.twinsnet.pl (8.12.8/8.x) with SMTP id j54KHLf9010453 for ; Sat, 4 Jun 2005 22:17:21 +0200 Message-ID: <42A20C4F.6030506@dominikanie.pl> Date: Sat, 04 Jun 2005 22:17:19 +0200 From: Zbigniew Bomert OP User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050417) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Injecting a String XML document into a pipeline References: <42A1FE14.8030906@dominikanie.pl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Received-SPF: pass (tx.mail.twinsnet.pl: 80.241.128.70 is whitelisted) receiver=tx.mail.twinsnet.pl; client-ip=80.241.128.70; helo=rx.twins.pl; envelope-from=zbomert@dominikanie.pl; x-software=spfmilter 0.95 http://www.acme.com/software/spfmilter/ with libspf2; Received-SPF: none X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Well, I don't know java actually. I use such template with following flowscript (the function I found somewhere on the list): myxml = getPipeline("mypipeline"); function getPipeline(uri, viewData) { var pipelineUtil = cocoon.createObject(Packages.org.apache.cocoon.components.flow.util.PipelineUtil); var result = pipelineUtil.processToDOM(uri, viewData); cocoon.disposeObject(pipelineUtil); return result; } myxml contains dom xml. zb Jorg Heymans wrote: > Zbigniew Bomert OP wrote: > > >> >>${myxml} >> > > > Are you sure this works when myxml contains xml tags ? Surely the > downstream parser chokes on it as you're effectively writing tags in a > text node ? > > > Jorg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org