Re: Proposal: Searching XML

On Mon, 22 Apr 2002, Robert Sanderson wrote:

>
> > >On the retrieve side, an XSLT with XPath expressions is
> > >simply applied to make records into whatever syntax is
> > >desired. I suspect many Z39.50 implementors are already
> > >supporting the use of externally-defined stylesheets.
> >
> > Yes, this is a good notion. Actually, given a known initial schema, it
> > makes sense for the client to submit an XSLT stylesheet to request a
> > transformation of each result set record prior to shipment. In my mind,
> > this is exactly equivalent to the use of Espec-1, only more powerful, and
> > standardised to boot.
>
> Can't we do that now by giving a URI in elementSetNames which refers to an
> XSLT style sheet, rather than dumping potentially very long stylesheets
> dynamically at the server for every request?  For retrieval purposes,
> specifying a style sheet and specifying a schema for the record to be
> returned in result in the same outcome -- you get the record in a certain
> format.

Seems sensible. For the paranoid amongst us, passing in a sha1 or md5 hash
of the XSLT sheet might help the server decide whether the XSLT was safe
to run. Creeping featurism though :)

Dan


-- 
mailto:danbri@w3.org
http://www.w3.org/People/DanBri/

Received on Monday, 22 April 2002 07:46:27 UTC