From: "Josh Canfield" <Josh(_dot_)Canfield(_at_)plumtree(_dot_)com>
>> The problem is that - within the context of the ParamColour matching
>> template, the key object doesn't seem to be defined - in fact, even
root of
Actually, I believe the key is defined, it just doesn't match anything in
the current document. When you call apply-templates on your parameter node
you are changing the current document to that of the parameter.
You could save the root node in a global variable.
<xsl:variable name="docRoot" select="/"/>
This is the solution that will suit me most generally.
Thanks for your help,
Colin
_________________________________________________________________
Add photos to your messages with MSN Premium. Get 2 months FREE*
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list