Your problem is that the stylesheet reference is an absolute reference and
the browser thinks you might be redirecting it to another site. Change the
reference to a relative reference and it should work.
http://z3950.loc.gov:7090/voyager?operation=searchRetrieve&version=1.1&query
=dc.title=dhtml%20and%20dc.creator=%22callihan,%20steven%22&recordSchema=mar
cxml&startRecord=1&maximumRecords=10&recordPacking=xml&stylesheet=/z3950/z39
50MARC21slim2HTML.xsl
Sadly, the above example doesn't work because the stylesheet really is
provided by a different server. You'll need to move the stylesheet
somewhere under the server listening at port 7090.
Ralph
> -----Original Message-----
> From: Larry E. Dixson [mailto:[log in to unmask]]
> Sent: Thursday, April 08, 2004 7:46 AM
> To: [log in to unmask]
> Subject: Stylesheets in SRU requests
>
> How can I get XSLT stylesheets to work for _others_ when
> the link is present in an SRU request?
>
> Sorry, I think this was discussed previously, but I wasn't
> "ready" for the information at that time.
>
> I have a test page of SRU requests (directed at LC) at the
> following address:
>
> http://lcweb/z3950/srutestlc.html
>
> There are three requests (in a row) that include a link to a
> stylesheet. All of those work for _me_ but not for anyone
> else here.
>
> How do I solve?
> Thanks.
> Larry
>
> ------------------------------------------------------------
> Larry E. Dixson Internet: [log in to unmask]
> Network Development and MARC
> Standards Office, LM639
> Library of Congress Telephone: (202) 707-5807
> Washington, D.C. 20540-4402 Fax: (202) 707-0115
|