Subject: RE: [xsl] combining multiple documents From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 27 Jan 2008 22:01:31 -0000 |
> If you accept that a transaction will, ultimately, want to > process multiple documents or documents with multiple > components then it should be clear that the implied context > introduces referencing difficulties. That's why XSLT 2.0 added the third argument to the key() function. If you use the third argument, then the key() function has no dependencies on the context in which it is evaluated (other than any dependencies that may exist in its arguments, of course). As a general usability point, my experience is that the use of implicit context in XSLT and XPath tends to make easy things easier and hard things harder. But when it becomes a problem, you can always bind explicit variables. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] combining multiple docume, Robert Koberg | Thread | Re: [xsl] combining multiple docume, Robert Koberg |
Re: [xsl] combining multiple docume, Robert Koberg | Date | RE: [xsl] combining multiple docume, Michael Kay |
Month |