# sru xslt support

**URL:** <https://discourse.citationstyles.org/t/sru-xslt-support/82>\
**Category:** CSL Development\
**Created:** [May 30, 2005, 1:05am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82 "2005-05-30T01:05:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [May 30, 2005, 1:05am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/1 "2005-05-30T01:05:40Z")

</div>

OK, am working on SRU support on my end (Matthias having been working  
on it on his). Here’s what I’m looking at:

```
  <xsl:when test="$bibdb='sru'">
    <xsl:copy-of
      select="doc(concat($server_url,
      version=1.1&query=bib.citekey+any+,
      $citekeys,  

```

&operation=searchRetrieve&recordSchema=mods&recordPacking=xml&startRecord=1&maximumRecords=9999,  
$authentication))"/\>  
\</xsl:when\>

So the citekeys variable is the same as the existing one, and I’m  
thinking I need to add two more: server\_url (for the base url) and  
authentication.

Any thoughts? I want to keep things flexible, but also easy to handle  
(and so simple).

Bruce

---

<div class="post-metadata">

**Author:** ![Matthias\_Steffens](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Matthias\_Steffens](https://discourse.citationstyles.org/u/Matthias_Steffens)\
**Post date:** [May 30, 2005, 9:09am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/2 "2005-05-30T09:09:20Z")

</div>

As we’ve discussed earlier, I think that individual cite keys must be  
enclosed by anchors to provide for exact field matches if the 'any’  
relation is used:

```
 "^Smith1992a^ ^Smith1992b^ ^Mitchell1995a^"

```

Matthias

---

<div class="post-metadata">

**Author:** ![Dr\_Robert\_Sanderson](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dr\_Robert\_Sanderson](https://discourse.citationstyles.org/u/Dr_Robert_Sanderson)\
**Post date:** [May 30, 2005, 10:02am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/3 "2005-05-30T10:02:02Z")

</div>

I don’t think it makes any difference, actually.

any, all and adjacency are word relations. If all you have in the field  
is a single word, then it will act like an exact equality relation.

If you have a cite key with a space, you’ll still end up with potentialy  
incorrect results from:

```
 foo all "^the first key^ ^a second key^"

```

which means:

```
 foo = ^the and foo = first and foo = key^ and foo = ^a and foo =
 second and foo = key^

```

Smith1992a will not match Smith1992abcdef. The word anchors only say  
’this word must be at the beginning or end of the field’

Rob

```
   ,'/:. Dr Robert Sanderson (@Dr_Robert_Sanderson)
 ,'-/::::. http://www.csc.liv.ac.uk/~azaroth/

```

,’–/::(@)::. Dept. of Computer Science, Room 805  
,’—/::::::::::. University of Liverpool  
\_\_\_\_/:::::::::::::.  
I L L U M I N A T I Cheshire3 IR System: [http://www.cheshire3.org/](http://www.cheshire3.org/)

---

<div class="post-metadata">

**Author:** ![Matthias\_Steffens](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Matthias\_Steffens](https://discourse.citationstyles.org/u/Matthias_Steffens)\
**Post date:** [May 30, 2005, 10:25am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/4 "2005-05-30T10:25:48Z")

</div>

> > As we’ve discussed earlier, I think that individual cite keys must be  
> > enclosed by anchors to provide for exact field matches if the ‘any’  
> > relation is used:  
> > “^Smith1992a^ ^Smith1992b^ ^Mitchell1995a^”
> 
> I don’t think it makes any difference, actually.
> 
> any, all and adjacency are word relations. If all you have in the field  
> is a single word, then it will act like an exact equality relation.

True, but what if you’re query contains cite keys that would match  
multiple keys in your database, like:

any “Smith1992 Mitchell1995”

and you have following cite keys in your database:

“Smith1992”  
“Smith1992Univariate”  
“Smith1992Multiple”  
“Mitchell1995”  
“JeffriesMitchell1995”

Without the anchors, the query keys won’t be unique. That’s a serious  
problem since we can’t (and shouldn’t) make assumptions about other  
people’s cite key syntax.

> If you have a cite key with a space, you’ll still end up with  
> potentialy incorrect results from:
> 
> ```
> foo all "^the first key^ ^a second key^"
> 
> ```
> 
> which means:
> 
> ```
> foo = ^the and foo = first and foo = key^ and foo = ^a and
> foo = second and foo = key^
> 
> ```

Ok, I see. Btw, for me it’s one of the most confusing things in CQL  
that spaces do mean completely different things depending on context  
and which relation is used. That’s a concept that’s pretty different  
from all other search languages I’ve come across, so far and I find  
it hard to grasp. Of course, that doesn’t mean it’s bad ;-), it’s  
just easy to get trapped by that.

I think that when querying for multiple cite keys we should not use  
the ‘any’ relation then but multiple ‘exact’ statements connected  
with ‘and’ instead. (which isn’t as smart as using ‘any “…”’ since  
it gets pretty wordy :-/)

This problem was also the reason why I was asking for an ‘anyexact’  
relation which would ease things for us quite a bit, IMHO.

Matthias

---

<div class="post-metadata">

**Author:** ![Matthias\_Steffens](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Matthias\_Steffens](https://discourse.citationstyles.org/u/Matthias_Steffens)\
**Post date:** [May 30, 2005, 10:38am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/5 "2005-05-30T10:38:50Z")

</div>

Maybe I’m not understanding it correctly, here. From the CQL  
information on the SRW web site I learned that:

bib.citekey any “Smith1992 Mitchell1995”

would resolve to:

bib.citekey=“Smith1992” and bib.citekey=“Mitchell1995”

and that the equals sign means “contains”. That, in turn, means that  
other cite keys which contain the search term would be matched as  
well.

If search terms used with the ‘any’ relation do only match whole  
words, then the explanations on the web site are somehow misleading,  
IMHO.

And how does CQL define a word? What about international characters  
or a hyphen (’-’)?

Thanks, Matthias

---

<div class="post-metadata">

**Author:** ![Matthew\_J\_Dovey](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@Matthew\_J\_Dovey](https://discourse.citationstyles.org/u/Matthew_J_Dovey)\
**Post date:** [May 30, 2005, 10:57am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/6 "2005-05-30T10:57:02Z")

</div>

> Maybe I’m not understanding it correctly, here. From the CQL  
> information on the SRW web site I learned that:
> 
> bib.citekey any “Smith1992 Mitchell1995”
> 
> would resolve to:
> 
> bib.citekey=“Smith1992” and bib.citekey=“Mitchell1995”

Not quite - try:

bib.citekey = “Smith1992” or bib.citekey = “Mitchell1995”

> and that the equals sign means “contains”. That, in turn, means that  
> other cite keys which contain the search term would be matched as  
> well.

I don’t think so, from the SRW/CQL pages:

“= is used:  
For word adjacency, when the term is a list of words. That is to say  
that the words appear in that order with no others intervening.  
Otherwise, for exact equality of value”

So Smith1992aabb would not be a match for

bib.citekey = “Smith1992” or bib.citekey = “Mitchell1995”

Or

bib.citekey any “Smith1992 Mitchell1995”

For Smith1992aabb to be a match you need the stem modifier

So

bib.citekey =/stem “Smith1992” or bib.citekey =/stem “Mitchell1995”

Or

bib.citekey any/stem “Smith1992 Mitchell1995”

> If search terms used with the ‘any’ relation do only match whole  
> words, then the explanations on the web site are somehow misleading,

Could you point out where the misleading bits are - as far as we are  
aware it is fairly clear, however we are always open to  
corrections/ammendments/clarifications etc!

Matthew Dovey  
(Technical Editor - SRW)  
Oxford University

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus](https://avatars.discourse-cdn.com/v4/letter/b/f9ae1b/32.png) [@Bruce\_D\_Arcus](https://discourse.citationstyles.org/u/Bruce_D_Arcus)\
**Post date:** [May 30, 2005, 11:33am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/7 "2005-05-30T11:33:14Z")

</div>

Matthias – are you still on digest? If yes, it might be good to  
change that for these kinds of discussions.

Anyway, if someone could settle the syntax I should be using, that’d be  
great. I was so far assuming:

```
bib:citekey+any+"^Smith1992a^+^Smith1992b^"

```

The anchors are trivial to add of course.

So now issues with my other decisions?

Bruce

---

<div class="post-metadata">

**Author:** ![Mike\_Taylor](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@Mike\_Taylor](https://discourse.citationstyles.org/u/Mike_Taylor)\
**Post date:** [May 30, 2005, 11:34am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/8 "2005-05-30T11:34:20Z")

</div>

> Date: Mon, 30 May 2005 12:38:50 +0200  
> From: Matthias Steffens \<@Matthias\_Steffens\>
> 
> > > I think that individual cite keys must be enclosed by anchors to  
> > > provide for exact field matches if the ‘any’ relation is used:  
> > > “^Smith1992a^ ^Smith1992b^ ^Mitchell1995a^”
> > 
> > any, all and adjacency are word relations. If all you have in the  
> > field is a single word, then it will act like an exact equality  
> > relation.
> 
> Maybe I’m not understanding it correctly, here. From the CQL  
> information on the SRW web site I learned that:
> 
> bib.citekey any “Smith1992 Mitchell1995”
> 
> would resolve to:
> 
> bib.citekey=“Smith1992” and bib.citekey=“Mitchell1995”

(That “and” should be “or” – presumably a typo?)

> and that the equals sign means “contains”.

Yes.

> That, in turn, means that other cite keys which contain the search  
> term would be matched as well.

No. “=” is doing word matching, not substring matching.

```
bib.citekey = Smith1992

```

with find “Smith1992” but _not_ “Smith1992a”. If you _want_ to find  
those, you’ll need to use a wildcard:

```
bib.citekey = Smith1992*

```

_/|_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
/o ) / Mike Taylor \<@Mike\_Taylor\> [http://www.miketaylor.org.uk](http://www.miketaylor.org.uk)  
)_v_\_/\ Join the ASCII ribbon campaign against HTML mail -  
[http://arc.pasp.de/--](http://arc.pasp.de/--)  
Listen to free demos of soundtrack music for film, TV and radio  
[http://www.pipedreaming.org.uk/soundtrack/](http://www.pipedreaming.org.uk/soundtrack/)

---

<div class="post-metadata">

**Author:** ![Matthias\_Steffens](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Matthias\_Steffens](https://discourse.citationstyles.org/u/Matthias_Steffens)\
**Post date:** [May 30, 2005, 12:01pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/9 "2005-05-30T12:01:51Z")

</div>

> > bib.citekey any “Smith1992 Mitchell1995”  
> > would resolve to:  
> > bib.citekey=“Smith1992” and bib.citekey=“Mitchell1995”
> 
> (That “and” should be “or” – presumably a typo?)

Oops, yes that was a typo.

> > and that the equals sign means “contains”.

> > That, in turn, means that other cite keys which contain the  
> > search term would be matched as well.
> 
> No. “=” is doing word matching, not substring matching.

Ah, ok. I somehow got this wrong when reading the CQL documentation.  
Sorry for the confusion. Then the anchors aren’t necessary, of course.

Thanks, Matthias

---

<div class="post-metadata">

**Author:** ![Matthias\_Steffens](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Matthias\_Steffens](https://discourse.citationstyles.org/u/Matthias_Steffens)\
**Post date:** [May 30, 2005, 12:06pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/10 "2005-05-30T12:06:48Z")

</div>

Yes, you’re correct and I should change that. (especially since the  
digest sometimes seems to get the chronological order of postings  
wrong which makes it impossible to follow a conversation)

Matthias

---

<div class="post-metadata">

**Author:** ![Dr\_Robert\_Sanderson](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dr\_Robert\_Sanderson](https://discourse.citationstyles.org/u/Dr_Robert_Sanderson)\
**Post date:** [June 1, 2005, 12:34pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/11 "2005-06-01T12:34:04Z")

</div>

> > > ```
> > > "^Smith1992a^ ^Smith1992b^ ^Mitchell1995a^"
> > > 
> > > ```
> > 
> > I don’t think it makes any difference, actually.  
> > any, all and adjacency are word relations. If all you have in the field  
> > is a single word, then it will act like an exact equality relation.

> True, but what if you’re query contains cite keys that would match  
> multiple keys in your database, like:  
> any “Smith1992 Mitchell1995”

> and you have following cite keys in your database:  
> “Smith1992Univariate”  
> “Smith1992Multiple”

You would match them with Smith1992\* using the default masking characters.  
You could also use a regular expression (for example) to match them if you  
specified a different masking algorithm.

> > If you have a cite key with a space, you’ll still end up with  
> > potentialy incorrect results from:
> > 
> > ```
> > foo all "^the first key^ ^a second key^"
> > 
> > ```
> > 
> > which means:
> > 
> > ```
> > foo = ^the and foo = first and foo = key^ and foo = ^a and
> > foo = second and foo = key^
> > 
> > ```

> Ok, I see. Btw, for me it’s one of the most confusing things in CQL  
> that spaces do mean completely different things depending on context  
> and which relation is used.

Yes, the distinction is primarily if the field is to be treated as a  
single string or a list of words

Rob

```
   ,'/:. Dr Robert Sanderson (@Dr_Robert_Sanderson)
 ,'-/::::. http://www.csc.liv.ac.uk/~azaroth/

```

,‘–/::(@)::. Dept. of Computer Science, Room 805  
,’—/::::::::::. University of Liverpool  
\_\_\_\_/:::::::::::::.  
I L L U M I N A T I Cheshire3 IR System: [http://www.cheshire3.org/](http://www.cheshire3.org/)

---

<div class="post-metadata">

**Author:** ![Dr\_Robert\_Sanderson](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dr\_Robert\_Sanderson](https://discourse.citationstyles.org/u/Dr_Robert_Sanderson)\
**Post date:** [June 1, 2005, 12:39pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/12 "2005-06-01T12:39:58Z")

</div>

> bib.citekey any “Smith1992 Mitchell1995”  
> would resolve to:  
> bib.citekey=“Smith1992” and bib.citekey=“Mitchell1995”

> and that the equals sign means “contains”.

= means (currently) word adjacency when applied to strings. So = with one  
term is the same as any or all with one term – the field contains the  
word given.

> And how does CQL define a word? What about international characters  
> or a hyphen (‘-’)?

It doesn’t. It’s up to the search engine to determine the best way to  
turn a field into a list of words.

Rob

```
   ,'/:. Dr Robert Sanderson (@Dr_Robert_Sanderson)
 ,'-/::::. http://www.csc.liv.ac.uk/~azaroth/

```

,‘–/::(@)::. Dept. of Computer Science, Room 805  
,’—/::::::::::. University of Liverpool  
\_\_\_\_/:::::::::::::.  
I L L U M I N A T I Cheshire3 IR System: [http://www.cheshire3.org/](http://www.cheshire3.org/)

---

<div class="post-metadata">

**Author:** ![Dr\_Robert\_Sanderson](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dr\_Robert\_Sanderson](https://discourse.citationstyles.org/u/Dr_Robert_Sanderson)\
**Post date:** [June 1, 2005, 12:41pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/13 "2005-06-01T12:41:17Z")

</div>

> For Smith1992aabb to be a match you need the stem modifier  
> So  
> bib.citekey =/stem “Smith1992” or bib.citekey =/stem “Mitchell1995”  
> Or  
> bib.citekey any/stem “Smith1992 Mitchell1995”

Or more appropriately, \* on the end as stem is used for linguistic  
stemming (ala the Porter algorithm)

Rob

```
   ,'/:. Dr Robert Sanderson (@Dr_Robert_Sanderson)
 ,'-/::::. http://www.csc.liv.ac.uk/~azaroth/

```

,‘–/::(@)::. Dept. of Computer Science, Room 805  
,’—/::::::::::. University of Liverpool  
\_\_\_\_/:::::::::::::.  
I L L U M I N A T I Cheshire3 IR System: [http://www.cheshire3.org/](http://www.cheshire3.org/)

---

<div class="post-metadata">

**Author:** ![Dr\_Robert\_Sanderson](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dr\_Robert\_Sanderson](https://discourse.citationstyles.org/u/Dr_Robert_Sanderson)\
**Post date:** [June 1, 2005, 12:43pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/14 "2005-06-01T12:43:00Z")

</div>

> Anyway, if someone could settle the syntax I should be using, that’d be  
> great. I was so far assuming:  
> bib:citekey+any+“^Smith1992a^+^Smith1992b^”

Assuming that the context set has a short name of ‘bib’:

```
  bib.citekey any "Smith1992a Smith1992b"

```

Plus escaping on all non URL okay characters such as space and "

Rob

```
   ,'/:. Dr Robert Sanderson (@Dr_Robert_Sanderson)
 ,'-/::::. http://www.csc.liv.ac.uk/~azaroth/

```

,‘–/::(@)::. Dept. of Computer Science, Room 805  
,’—/::::::::::. University of Liverpool  
\_\_\_\_/:::::::::::::.  
I L L U M I N A T I Cheshire3 IR System: [http://www.cheshire3.org/](http://www.cheshire3.org/)

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [June 3, 2005, 11:38am UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/15 "2005-06-03T11:38:23Z")

</div>

Here’s what I’m currently outputting:

version=1.1&query=bib.citekey%20any%20"Tilly2000a,%20Thrift1990a,%20Tilly2002a,%20Veer1996a,%20Tremblay2001a,%20NW2000-0207,%20NW2000-0424a"&operation=searchRetrieve"recordSchema=mods&recordPacking=xml&startRecord=1&maximumRecords=9999&x-info-2-auth1.0-authenticationToken=

I still need to finish the authentication support, and a server to  
test against. Matthias, are you able to support these queries yet?

Bruce

---

<div class="post-metadata">

**Author:** ![Matthias\_Steffens](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Matthias\_Steffens](https://discourse.citationstyles.org/u/Matthias_Steffens)\
**Post date:** [June 3, 2005, 12:29pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/16 "2005-06-03T12:29:40Z")

</div>

> > > Anyway, if someone could settle the syntax I should be using, that’d be  
> > > great. I was so far assuming:  
> > > bib:citekey+any+“^Smith1992a^+^Smith1992b^”
> > 
> > Assuming that the context set has a short name of ‘bib’:
> > 
> > ```
> > bib.citekey any "Smith1992a Smith1992b"
> > 
> > ```
> > 
> > Plus escaping on all non URL okay characters such as space and "
> 
> Here’s what I’m currently outputting:
> 
> version=1.1&query=bib.citekey%20any%20"Tilly2000a,%20Thrift1990a,%  
> 20Tilly2002a,%20Veer1996a,%20Tremblay2001a,%20NW2000-0207,%20NW2000  
> -0424a"&operation=  
> searchRetrieve"recordSchema=mods&recordPacking=xml&startRecord=1&  
> maximumRecords=9999&x-info-2-auth1.0-authenticationToken=

I assume the commas shouldn’t be in the above search term?

> I still need to finish the authentication support, and a server to  
> test against. Matthias, are you able to support these queries yet?

Almost. 🙂 I haven’t yet found time to correct my incorrect  
interpretation of the equals relation (i.e. ‘=’ matches only full  
words but not sub-strings). The authentication token isn’t supported  
either but I suppose this is easy to implement. I’ll hope to finish  
these things over the weekend.

Ultimately, I should rewrite my simple CQL parser as suggested by Rob  
in an earlier email.

Matthias

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus](https://avatars.discourse-cdn.com/v4/letter/b/f9ae1b/32.png) [@Bruce\_D\_Arcus](https://discourse.citationstyles.org/u/Bruce_D_Arcus)\
**Post date:** [June 3, 2005, 1:23pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/17 "2005-06-03T13:23:57Z")

</div>

> I assume the commas shouldn’t be in the above search term?

Right.

> I’ll hope to finish these things over the weekend.

OK, I’ll do the same. Let me know when you’re ready and we can do a  
test/demo. I want to announce this project formally next week if  
possible.

Bruce

---

<div class="post-metadata">

**Author:** ![Matthias\_Steffens](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Matthias\_Steffens](https://discourse.citationstyles.org/u/Matthias_Steffens)\
**Post date:** [June 3, 2005, 1:44pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/18 "2005-06-03T13:44:16Z")

</div>

> > I’ll hope to finish these things over the weekend.
> 
> OK, I’ll do the same. Let me know when you’re ready and we can do  
> a test/demo.

I’ll do.

> I want to announce this project formally next week if possible.

Great!

[Btw: I got an “Undelivered Mail” error with my last email that I  
cc-ed to you directly:

“\<@Bruce\_D\_Arcus\>: host  
/var/imap/socket/lmtpprox[/var/imap/socket/lmtpprox] said: 552 5.2.2  
Over quota (reported by server2.internal in RCPT TO) (in reply to end  
of DATA command)”]

Matthias

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [June 3, 2005, 2:05pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/19 "2005-06-03T14:05:08Z")

</div>

I don’t know what the deal is with fastmail. Matthew and I have both  
seen the same.

GMail is a bit safer I think.

Bruce

---

<div class="post-metadata">

**Author:** ![Matthias\_Steffens](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Matthias\_Steffens](https://discourse.citationstyles.org/u/Matthias_Steffens)\
**Post date:** [June 9, 2005, 9:44pm UTC](https://discourse.citationstyles.org/t/sru-xslt-support/82/20 "2005-06-09T21:44:00Z")

</div>

Hi,

(in the hope to integrate with xbib) I’m trying to implement support  
for the ‘x-…-authenticationToken’ parameter in a SRU query:

sru.php?version=1.1&query=bib.citekey=Mock2003Diss  
&x-info-2-auth1.0-authenticationToken=email=@Matthias\_Steffens

Problems are that none of the Mac OSX browsers I’ve tried (Safari,  
Firefox, Mozilla, Camino, Opera) seems to pass the token correctly:

x-info-2-auth1.0-authenticationToken

The dot seems to be the culprit. If I remove the dot everything works  
as expected. Or could this be a problem with PHP/Apache? I’m using  
Apache/1.3.33 (Darwin) PHP/5.0.4.

I appreciate any hints.

Thanks, Matthias

[Next page](https://discourse.citationstyles.org/t/sru-xslt-support/82.md?page=2)
