From: Wolfgang M. <wol...@ex...> - 2005-03-03 10:31:03
|
Hi, > 1) I'm trying to apply a stylesheet to the default XML Response for a > collection within the DB. However, for some reason, its just not being > applied. Using the same instructions, however, work for other files. I'm > requesting it using the following: > > http://localhost:8080/exist/servlet/db/collection_a/?_xsl=/db/xsl/Collection.xsl > > 2) Is it also possible to pass variables to stored xsl sheets while > processing? If so, can this be done while calling via a GET request? Both questions can be answered with no. Stylesheets are not applied when displaying collection contents. And to pass variables to an xsl from a GET request you would have to use an XQuery to call the xsl and pass the request parameters to the stylesheet manually. But I can make both things possible with some small changes to the REST server. I'll try to do that. Wolfgang |