Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 97424 invoked by uid 500); 10 Apr 2003 13:31:05 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 97409 invoked from network); 10 Apr 2003 13:31:05 -0000 Received: from ctr.anteon.com (HELO netops.anteon.com) (12.148.27.3) by daedalus.apache.org with SMTP; 10 Apr 2003 13:31:05 -0000 Received: from anteon.com ([195.125.180.146]) by netops.anteon.com (NAVGW 2.5.1.13) with SMTP id M2003041009310425061 for ; Thu, 10 Apr 2003 09:31:04 -0400 Date: Thu, 10 Apr 2003 15:33:44 +0200 Subject: Re: Generate html page from url in some file Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Darren Petrie To: cocoon-users@xml.apache.org Content-Transfer-Encoding: quoted-printable In-Reply-To: <014001c2ff62$7434f220$a800000a@lisa> Message-Id: <0CE70049-6B59-11D7-9DC8-0003938ADD62@anteon.com> X-Mailer: Apple Mail (2.551) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Rather than use the document() function in XSL try generating a=20 CInclude with the first XSL transformation and then run that through a=20= CInclude transformer. That will bring the "fetched URL in as valid=20 XHTML. Darren On Thursday, Apr 10, 2003, at 15:09 Europe/Berlin, Anna Afonchenko=20 wrote: > Hi all. > I have the following problem: > I want to build a pipeline that will get=A0a URL of some page, process=20= > it with xsl > that will fetch some other URL written in this page, generate the=20 > fetched url and > apply some xsl on it. > E.g. if there is some file http://www.url.com/some.html that has a=20 > link > I want to fetch this url using xsl, and use it in other pipeline,=20 > using cocoon protocol. > I tried to use xsl document() function to get and output the content=20= > of the desired url > further through cocoon pipeline. But the problem arises when the=20 > needed page is not valid xml, because then xsl cannot output it. > So my question is, is it possible to do such task in cocoon? > I want something like that: > > > =A0=A0=A0 type=3D"html"/> > =A0=A0=A0 > =A0=A0=A0 > =A0=A0=A0 > > > =A0=A0=A0 > =A0=A0=A0 > =A0=A0=A0 > =A0=A0=A0 > > =A0 > The problem is, as I said, that the fetched url cannot be output by=20 > xsl, as it is not > in xml format. > Is it possible to do something like this using cocoon pipelines? > And how can I do this? > =A0 > Thank you very much for help. > Sorry for a long e-mail. Hope I was able to explain myself :-) > =A0 > Anna > Darren Petrie dpetrie@anteon.com --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org