Hi all,
I've been stuggling with a problem for a while that can be summarized as thus: when a stylesheet loads another stylesheet in a transformation and executes it, the child's stylesheet global context (as represented by base-uri()) is set to the source document.
This represents a problem because the child stylesheet's global 'selector' variables do not select anything (since their context is not the input xml, but the parent that called the stylesheet) and thus the stylesheet's operation is broken.
I've detailed the problem in this
SO question, and included a test case as well. I'm fairly new to heavy XSLT development and haven't got ideas on how to go about this - and tips?
Thanks!