This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Acceding to the system



> but I do not
> know if you can do it from the XSL file.

given just the info you posted, you'd have to use an extension function.
Most (all?) java implementations of xsl allow you to call java classes
as extension functions, so that you could essentially query the
filesystem to find out which file exists.

you'd need to say which processor you are using as access is processor
dependent, and also I'll leave someone else to suggest the best java
mechanisms (java isn't really my thing, too many side effects:-)

Alternatively if you make the information available _somehow_ as an xml
file so xsl can see it (eg by making an xml format directory listing
available via document())

David


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]