Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 25633 invoked by uid 500); 17 Jul 2003 21:12:02 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 25608 invoked from network); 17 Jul 2003 21:12:01 -0000 Received: from 206.red-80-34-215.pooles.rima-tde.net (HELO correo.che-che.com) (80.34.215.206) by daedalus.apache.org with SMTP; 17 Jul 2003 21:12:01 -0000 Received: from che-che.com (carolo [192.168.1.5]) by correo.che-che.com (Postfix) with ESMTP id 9DB6BC7B8 for ; Thu, 17 Jul 2003 23:12:05 +0200 (CEST) Message-ID: <3F171125.7020600@che-che.com> Date: Thu, 17 Jul 2003 23:12:05 +0200 From: Juan Jose Pablos User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030311 Debian/1.2.1-10 X-Accept-Language: es, en MIME-Version: 1.0 To: forrest-dev@xml.apache.org Subject: Re: text2document References: <1058452088.3f16b278365e2@secure.solidusdesign.com> <1058473702.3f1706e6b2e11@secure.solidusdesign.com> In-Reply-To: <1058473702.3f1706e6b2e11@secure.solidusdesign.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Dave, I will have a look.. have you got a test.txt this stuff? Make sure it got the ' ', so I can see the error as well.. Cheers Cheche Dave Brondsema wrote: > Quoting Dave Brondsema : > > >>I would like to put some .txt files in the xdocs directory and have them >>generate documents where the content is all the text within a tag. >>This seems like it would be easy to implement, but I'm not very familiar with >>forrest's pipelines. Anyone up for it? >> >>TIA, >> > > > Well.. I did it myself. It's not pretty how it takes care of line endings, but > it works. If someone knows how to fix it that'd be great. > > To implement this, use the attached files and add the following to forrest.xmap > in the source formats section: > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:st="http://chaperon.sourceforge.net/schema/syntaxtree/1.0" > exclude-result-prefixes="st"> > > method="html" > doctype-public="-//APACHE//DTD Documentation V1.1//EN" > doctype-system="document-v11.dtd" > cdata-section-elements="source"/> > > > > > >
> > <xsl:value-of select="$name"/> > >
> > > > > > > > > > > >
>
> > > > > > > > > > > > > > > > > > > > > > > > > >