|
Subject: RE: keys: repeated nodes from same key value From: Kay Michael <Michael.Kay@xxxxxxx> Date: Thu, 10 Aug 2000 17:14:57 +0100 |
> saxon says I can't have document() in the match of xsl:key()
> <xsl:key name="fl"
> match="document('b.xml')/path//element" use="."/>
> Any particular reason for this?
The document() function isn't allowed in a pattern (only in expressions).
You don't need it here: key definitions apply to every source document. The
key index is actually built for a particular document the first time it is
used on that document.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: keys: repeated nodes from same , Pawson, David | Thread | Re: keys: repeated nodes from same , Joe English |
| RE: Multiple Rows in a Table / Same, Pinto, Rebecca | Date | Memory-saving Prescription for key(, John Robert Gardner |
| Month |