Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 61496 invoked by uid 500); 27 Jun 2003 08:46:50 -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 61483 invoked from network); 27 Jun 2003 08:46:49 -0000 Received: from sproxy03.hi-ho.ne.jp (202.224.159.198) by daedalus.apache.org with SMTP; 27 Jun 2003 08:46:49 -0000 Received: from MALEABLEP4 (eatky19-p73.hi-ho.ne.jp [218.42.162.74]) by sproxy03.hi-ho.ne.jp (hi-ho Mail Server) with SMTP id <0HH40006NTQD48@sproxy03.hi-ho.ne.jp> for cocoon-users@xml.apache.org; Fri, 27 Jun 2003 17:47:02 +0900 (JST) Date: Fri, 27 Jun 2003 17:45:51 +0900 From: Shinji Suzuki Subject: Getting at file system location of a sitemap.xmap To: cocoon-users@xml.apache.org Message-id: <004801c33c88$abb96a60$0200a8c0@MALEABLEP4> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook Express 6.00.2800.1158 Content-type: text/plain; charset="iso-2022-jp" Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi. In my attempt of writing a reader component, I want my reader write to a file that stays in the same directory as the sitemap from which the said component is instantiated, putting aside legitimacy of doing such. (I am trying to implement my own caching as I want to impose cetrain directory hierarchy in the cache.) For reading, I guess I can use resolver.resolveURI(), giving it a relative path, in setup() method and use returned Source for reading. But I can't find out an equivalent scheme for writing. Any help and pointer to information is appreciated. -shinji --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org