xsl-list
[Top] [All Lists]

RE: FW: include and key

2004-11-17 07:53:46
Michael,

thanks for your reply I think it points to the right direction...

   | Are you sure that at the time you call the key() function, 
   | the context node
   | is in the right document? key() will search whatever 
   | document is current at
   | the time you call it.

I've just checked, and now I'm confused...

To make it clearier I use two different namespaces, one is the 'data' for
the data coming in, the second is 'mydata' which is xml embeded directly to
the stylesheet, the key is suppose to work on the 'data' namespace and I
need the 'mydata' one to define tables structure.

From my main.xsl I call a template situated in the toolbox.xsl passing the
table definition ('mydata' prefixed) which declare as a string a key
node-set refering to the incomming data ('data' prefix), 
when I print out the current node name it returns mydata:Row and the key is
supposed to work on the data:Row nodes :-((
Is there a way to force the current node for the key to be on the 'data'
document ?

-- 
Magalie Derhille


--------------------------------------------------------------------

Les informations contenues dans ce message et/ou ses annexes sont
reservees a l'attention et a l'utilisation de leur destinataire et
peuvent etre confidentielles. Si vous n'etes pas destinataire de ce
message, vous etes informes que vous l'avez recu par erreur et que
toute utilisation en est interdite. Dans ce cas, vous etes pries de
le detruire et d'en informer la Banque europeenne d'investissement.

The information in this message and/or attachments is intended
solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are hereby
notified that you have received this transmittal in error and that
any use of it is prohibited. In such a case please delete this
message and kindly notify the European Investment Bank accordingly.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>