> What will the expression "/.." in the attribute select="/.." return?
An empty node-set. That means the default value of that parameter is of
type node-set but it is empty.
> I am trying to figure what the original author of the stylesheet
> intended to do. By my reasoning, select="/.." should select the parent
> of the root node! And the root node has no parent!
> So the parameter myParam will always be empty regardless of the input
> xml.
But if that is a global parameter it can be set to a different value
before a transformation is run.

Signature
Martin Honnen
http://JavaScript.FAQTs.com/
junkblog747@gmail.com - 28 Nov 2006 17:16 GMT
Thanks for your response.
I guess the original author of the stylesheet forgot to set the value
of the parameters, since he uses the params in if tests.
Thanks and Regards
Rohit