[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Simple and powerful [Re: Managing semi-trivial sets of style

Subject: Simple and powerful [Re: Managing semi-trivial sets of stylesheets.]
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Fri, 09 Jun 2000 09:19:18 +0200
trivial style
I must be slow thinking (sorry if it was already obvious for everyone
else on this list), but I have just started to understand the power of
this simple idea :

Paul Tchistopolskii wrote:
> 
> > Or you could stick a SAX filter between the stylesheet parser and the XSLT
> > processor.
> 
> That's what I did - I was wondering maybe there is something
> better...
> 
> <nice code snipped/>
>
> The side-effect with XT ( and I guess with any other XSLT implementation )
> is that this affects document() as well, because document() invokes the
> same parser ;-) But this is OK with me - makes life even easier, because
> moving the entire project to any directory requires changing only one
> place.
> 

This SAX filter can easily be extended to do any mapping using the
"file:" URI scheme, making it quite easy for content management systems.

It has the benefit to set up an artificial root restricting the access
to the file system which can be useful for security reasons on multi
hosted web systems.

I wonder how easy it would be to define other pseudo schemes...

A "java:" pseudo scheme calling a class and considering its output as a
XML document would make the link with some of your previous posts
(http://www.mulberrytech.com/xsl/xsl-list/archive/msg10225.html). 

Even with the limitation that acting as it is a filter you are not aware
of the XSLT context, it could be worth trying...

My 0.02 Euros.

Eric
-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.