Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 49013 invoked from network); 1 May 2004 15:24:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 May 2004 15:24:20 -0000 Received: (qmail 75808 invoked by uid 500); 1 May 2004 15:24:10 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 75753 invoked by uid 500); 1 May 2004 15:24:10 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 75732 invoked from network); 1 May 2004 15:24:09 -0000 Received: from unknown (HELO grid4.hypergrid.it) (80.22.58.138) by daedalus.apache.org with SMTP; 1 May 2004 15:24:09 -0000 Received: (qmail 11102 invoked by uid 1005); 1 May 2004 15:24:10 -0000 Received: from ugo@apache.org by mail with HyperGrid Anti-Virus System Processed in 5.263334 secs; 01 May 2004 15:24:10 -0000 Received: from unknown (HELO ?80.180.188.229?) (ugo.cei@ymail.it@80.180.188.229) by 0 with RC4-SHA encrypted SMTP; 1 May 2004 15:24:05 -0000 Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <9677E2AE-9B83-11D8-A886-000A95DC4186@apache.org> Content-Transfer-Encoding: 7bit From: Ugo Cei Subject: Re: Some CalendarGenerator code Date: Sat, 1 May 2004 17:24:07 +0200 To: dev@cocoon.apache.org X-Mailer: Apple Mail (2.613) X-Spam-Checker-Version: SpamAssassin 3.0.0-r9592-hypergrid (2004-03-18) on mail.hypergrid.it X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Il giorno 30/apr/04, alle 04:53, roy huang ha scritto: > Hi ugo: > The attachment is a calendargenerator extend the original > one,provide year,month,two week,week,work day,two days,day > calendar.The basic code is from your original class.See if this helps. Sorry but your source contains characters with an unknown encoding in the comments and the original Javadoc comments are missing. I don't have time at the moment to fix this. Also, it would be nice if you could expand the original sample with the cases you added. > Another suggestion,I saw you mail in > http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108253763309517&w=2 > .My suggestion is why not write a CalendarTransformer?It read from > generator about date,content by parameter configed by parameter and > then generate its own sax pipeline just like CalendarGenerator?This > Transformer will much easier to use. Much easier to use compared to what? Sorry, but I don't see your point. Can you provide an example? Ugo