>From: Matthew J. Dovey [mailto:[log in to unmask]]
>Sent: 29 April 2004 14:36
>To: [log in to unmask]; [log in to unmask]
>Subject: RE: Stylesheets in SRW
>> <?xml version="1.0"?>
>> <?xml-stylesheet type="text/xsl" href="http://www.foo.org/"?>
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" (etc.)
>This is an invalid SOAP request as processing instructions are
>valid anywhere in the SOAP response. In SOAP 1.2 a client MUST
>generate a SOAP fault if a response is received with a
>I thought the stylesheet parameter was only suppose to be
>acted upon by SRU servers and ignored (rather than return a
>diagnostic) if sent to an SRW server.
In that case the following page needs updating to reflect that:
The URL to be included in the response is given in the request in the
'stylesheet' parameter. This URL is to be included in the href attribute
of the xml-stylesheet processing instruction before the response. It is
likely that the type will be XSL, but this is not necessarily the case
and is able to be changed by profiles. If the server cannot fulfil this
request it must throw a diagnostic.
It is typically expected that this parameter will be used with SRU, but
it is also possible to include in an SRW request if the client desires a
stylesheet to be returned to render the response or part thereof.
If this parameter is not supplied, then the server can, at its
discretion, include a default stylesheet. The default stylesheet URL may
be included in the explain document.
******* should this be only for SRU??
For example, if the client includes 'stylesheet=/master.xsl', then the
server must include at the very beginning of the response:
<?xml-stylesheet type="text/xsl" href="/master.xsl"?>
************** This stype of PI should only be returned for SRU
requests and never for SRW?
Note that the stylesheet paramater can always be returned to the client
as part of the echoedRequest......