The only way to reference variables and parameters in XSLT
is by explicit compile-time name. Variable names are not accessible at run-time
from within the stylesheet. When you say "the names of the external documents
are passed", it sounds to me as if you are passing the names of the variables to
which the documents have been passed. This information can't be used at
run-time. A better approach might be to pass the URIs of those documents, or a
sequence containing the document nodes.
i have a questions concerning the evaluating of a
string value. I have several documents included as optional parameters into my
stylesheet. Each parameter is a valid xml document. The names of the external
documents are passed as a sequence of strings into the stylesheet.
avoid duplicate code, i need something like
where $. is the parameter
name. Is there a possibility in Saxon-B to evaluate a given name into a valid
Thx for any