kszbcss / xspec

Private backup of the xspec project at google code, as google code is going to disappear.
MIT License
1 stars 0 forks source link

Ability to specify a x:context for a x:call #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In my XSLT I have an xsl:key declaration at a global level. This key is built 
from the source document.

I later have a recursive named function which call's key() which I would like 
to test. I need to be able to set an x:context so that I can mock the data that 
the xsl:key is built from.

I can use x:call to call my function, but also using x:context in combination 
x:call is prohibited by XSpec. I think this needs to be relaxed.

Original issue reported on code.google.com by adam.ret...@googlemail.com on 25 Feb 2014 at 3:38