Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 89105 invoked from network); 27 Dec 2005 16:19:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Dec 2005 16:19:54 -0000 Received: (qmail 8670 invoked by uid 500); 27 Dec 2005 16:19:50 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 8268 invoked by uid 500); 27 Dec 2005 16:19:49 -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 8257 invoked by uid 99); 27 Dec 2005 16:19:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2005 08:19:48 -0800 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_BADTAG_30_40,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.191.84.236] (HELO web36306.mail.mud.yahoo.com) (209.191.84.236) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 27 Dec 2005 08:19:48 -0800 Received: (qmail 51339 invoked by uid 60001); 27 Dec 2005 16:19:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Wk+JjRyIrRaQLyIFgsNvXx468ZsQOJWKfm43qnc2esqsA0jibDSR9dP3Ig8Rp5cR2nL4quydXiScDUtbRpUZcL6VplqdwqjMQVMY/zBq5Su29pU5qk1w8gQ3FK3zWouyZuTUaeP4NcdNwYzrJYGp7wnaRndCuv8T3MDIcKKLLoQ= ; Message-ID: <20051227161927.51335.qmail@web36306.mail.mud.yahoo.com> Received: from [217.224.99.116] by web36306.mail.mud.yahoo.com via HTTP; Tue, 27 Dec 2005 08:19:27 PST Date: Tue, 27 Dec 2005 08:19:27 -0800 (PST) From: kavitha ramesh Subject: Re: accessing xml files To: users@cocoon.apache.org In-Reply-To: <1135692104.2529.10.camel@pxe006> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-401712683-1135700367=:51048" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-401712683-1135700367=:51048 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit These files A, B, C can change into anything say A001, B001,C001 automatically as these files are not created by me,,,but always starts with A, B, C.And the sitemap should search for the file starting with A, B, C and then do the xslt transformation,,, Taras Yurij Vasylovitch wrote: On Tue, 2005-12-27 at 05:22 -0800, kavitha ramesh wrote: > Hi, > > I have 3 xml files in a directory say A.xml,B.xml,C.xml.The names A, > B, C changes into A1,B1,C1 after 5 minutes.And after 5 minutes it > changes to A2,B2, C2 and so on...Now my sitemap looks like this,,, > > > > > > > > > > > > When my xml files changes into different names, how do I tell my > sitemap to access the files with new names? > If someone knows pls help me,,, > > Rgds > Kavitha. > Yahoo! DSL Something to write home about. Just $16.99/mo. or less What about creating XSP that will check, what files it should use? Another way is using "directory" generator ( http://cocoon.apache.org/2.1/userdocs/directory-generator.html ), transforming result file using XSLT to sms like and use XInclude or CInclude. http://cocoon.apache.org/2.1/userdocs/xinclude-transformer.html http://cocoon.apache.org/2.1/userdocs/cinclude-transformer.html IMHO the best way is to change sms in system logic and use pipelines instead of reading from files, i.e. else. --> Later you can move your data, i.e. in DB and you'll have to change only last_version_of pipeline, while output.html will remain the same. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------- Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping --0-401712683-1135700367=:51048 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
These files A, B, C can change into anything say A001, B001,C001 automatically as these files are not created by me,,,but always starts with A, B, C.And the sitemap should search for the file starting with A, B, C and then
do the xslt transformation,,,
 

Taras Yurij Vasylovitch <taras.yura@softsky.com.ua> wrote:
On Tue, 2005-12-27 at 05:22 -0800, kavitha ramesh wrote:
> Hi,
>
> I have 3 xml files in a directory say A.xml,B.xml,C.xml.The names A,
> B, C changes into A1,B1,C1 after 5 minutes.And after 5 minutes it
> changes to A2,B2, C2 and so on...Now my sitemap looks like this,,,
>
>
>
>
>
>
>

>
>
>

>
> When my xml files changes into different names, how do I tell my
> sitemap to access the files with new names?
> If someone knows pls help me,,,
>
> Rgds
> Kavitha.
> Yahoo! DSL Something to write home about. Just $16.99/mo. or less

What about creating XSP that will check, what files it should use?
Another way is using "directory" generator
( http://cocoon.apache.org/2.1/userdocs/directory-generator.html ),
transforming result file using XSLT to sms like





and use XInclude or CInclude.
http://cocoon.apache.org/2.1/userdocs/xinclude-transformer.html
http://cocoon.apache.org/2.1/userdocs/cinclude-transformer.html
IMHO the best way is to change sms in system logic and use pipelines
instead of reading from files, i.e.












Later you can move your data, i.e. in DB and you'll have to change only
last_version_of pipeline, while output.html will remain the same.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping --0-401712683-1135700367=:51048--