|
Subject: RE: [xsl] key declarations (using a sequence constructor) From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 7 Oct 2009 12:33:09 +0100 |
> Do they just make
> a string with some kind of separator breaking up the attributes?
> Isn't there a chance of this failing if the character used
> for the separator is used in one or more of the attributes?
>
Yes, and yes.
Unicode gives a wide range of characters to choose from, including the
Private Use area.
An alternative approach is to create separate keys one for each attribute,
and then to search using
key('ka', @a) intersect key('kb', @b)
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] key declarations (using a, Martin Honnen | Thread | Re: [xsl] key declarations (using a, David Carlisle |
| Re: [xsl] key declarations (using a, Martin Honnen | Date | Re: [xsl] key declarations (using a, David Carlisle |
| Month |