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

Re: XT and absolute file names?

Subject: Re: XT and absolute file names?
From: zun@xxxxxxxxxxxxxx
Date: Tue, 24 Aug 1999 14:35:18 -0400 (EWT)
absolute file name
Hi Kai,

On 23 Aug 1999, Kai [iso-8859-1] Großjohann wrote:

[ ... ]
> Suppose you have home-grown DTDs and XSL stylesheets and stuff.
> Suppose further that you wish to experiment with different versions.
> For other Unix programs, there are environment variables which you can
> set to a list of directories to search.  With nsgmls and friends, it
> is possible to set $SGML_SEARCH_PATH to a list of directories which are
> then searched for DTDs.
[...]
> But with XT this is not possible, since the files have to contain an
> absolute URL if the referenced file is not in the current directory.
> 
> How do you deal with this kind of problem?  Maybe I'm approaching it
> from the wrong end altogether?

Since it's an implementation detail you'd have to write some Java code to
do it.  Fortunately this is relatively straightforward, you have to write
an implementation for org.xml.sax.EntityResolver to do what you want, then
create a new parser class using it for XT to use.

If you have any difficulty feel free to mail me directly.

. . . Sean.



 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.