Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 7740 invoked by uid 500); 23 Apr 2001 00:43:55 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 7726 invoked from network); 23 Apr 2001 00:43:54 -0000 Message-ID: <004001c0cb8e$957dad50$ea4dfea9@spukny> From: Allan Erskine To: cocoon-dev References: Subject: Re: [C2] Protected area app Date: Mon, 23 Apr 2001 01:44:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Jason, I'm not sure if this is what you were thinking, but one of my first C2 posts was on XPath and the sitemap. My reasoning was that C2 seemed to be adopting a declarative style of programming/configuring (whatever you want to call it), esp when it came to sitemaps. If you are wanting to base a declaritive behaviour choice on some aspect of the state of your system, then what could seem more natural than having that state represented by XML (eg an abstract XML representation of request, session, action state always available in for use in the sitemap)? And then what more natural tool to evaluate tests on that XML than to use XPath? AFAIR Donald Ball replied and said that Ricardo had argued against this in the past, something about an XPath hammer and a sitemap screw...but I still hold a small candle for this idea. On Donald's suggestion I even looked into ways of going about it, but was put off but the lack of a SAX API for XPath. Recently Berin mentioned starting a project on sourceforge for one, but I don't know how far this got either. Allan ----- Original Message ----- From: "Jason Foster" To: "cocoon-dev" Sent: Sunday, April 22, 2001 5:01 PM Subject: Re: [C2] Protected area app > > > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > > > > >> No problem. Replace the above with a > > This has probably been mentioned before, but doesn't this look a lot like > Xpath/XSLT? The more example of actions I see, the more it look like a > recursive, set-based mindset is being applied. > > Going from a very hazy memory it would look something like... > > > > > > > > > > > > I'm curious as to how hard it would be to use XSLT/XPath to generate the > appropriate processing chain? The model would be something like: > > URL --> XSLT --> SiteMap XML Fragment --> SiteMap XSL --> execution > > While this does shoehorn XSL/XPath into yet another purpose, it does allow > for the reuse of skills and XSL tools. If the XML fragment can be captured > it also allows for (hopefully) easier debugging of how various URLs are > being interpreted. > > More thoughts from a very confused, and very apologetic for his previous > post, pseudo-lurker. > > Jason Foster > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org