Subject:Using a custom URIResolver with Xalan-J Author:Christos Karras Date:20 Nov 2003 10:05 AM
Is there a way to configure the Stylus Xalan-J processor to use a custom URIResolver?
I'm trying to use Stylus to edit some XSLT stylesheets that reads a generated in-memory XSL file using a custom URIResolver, but I'm not able to use the WYSIWYG mode because the default URIResolver is only able to resolve URIs on the file system. The only work around I've found is to generate a static version of the generated files and use file:// URIs to read them. However when I'm finished editing the stylesheets, I have to change back all the URIs to allow them to be recognized by the custom URIResolver.
It would be nice to have this feature if it's not already there.
Subject:RE: Using a custom URIResolver with Xalan-J Author:Ivan Pedruzzi Date:20 Nov 2003 11:27 AM
Hi Christos
If you are running 5.x you could try to write a Stylus Custom File
System.
Custom file system let you wrap virtually any data source with 2 simple
java classes: StylusFileSystem, StylusFile.
You can find an example under \examples\CustomFileSystem and
a description of how to register it in the online help.
Ivan
> -----Original Message-----
> From: stylus-studio-xslt Listmanager
> [mailto:listmanager@edn.exln.com]
> Sent: Thursday, November 20, 2003 10:30 AM
> To: Recipients of 'stylus-studio-xslt' suppressed
> Subject: Using a custom URIResolver with Xalan-J
>
>
> From: "Christos Karras"
>
> Is there a way to configure the Stylus Xalan-J processor to
> use a custom URIResolver?
>
> I'm trying to use Stylus to edit some XSLT stylesheets that
> reads a generated in-memory XSL file using a custom
> URIResolver, but I'm not able to use the WYSIWYG mode because
> the default URIResolver is only able to resolve URIs on the
> file system. The only work around I've found is to generate a
> static version of the generated files and use file:// URIs to
> read them. However when I'm finished editing the stylesheets,
> I have to change back all the URIs to allow them to be
> recognized by the custom URIResolver.
>
> It would be nice to have this feature if it's not already there.
>
>
>
> To reply: mailto:stylus-studio-xslt.7122@edn.exln.com
> To start a new topic: mailto:stylus-studio-xslt@edn.exln.com
> To login: http://edn.exln.com/~SSDN
>