In the XSLT file there is a variable that is dynamically generated, of string type. How to use this string in xpath?
1 answer
I found the answer myself: versions 1.0 and 2.0 (which are standardized) do not support dynamic XPath generation. In the future version 2.1, this feature is planned. So now there are two options:
- Dyn extension, which is not supported by all parsers
- Two xslt transforms: the first gets an xslt file with the specified XPath.
|