In the XSLT file there is a variable that is dynamically generated, of string type. How to use this string in xpath?

    1 answer 1

    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:

    1. Dyn extension, which is not supported by all parsers
    2. Two xslt transforms: the first gets an xslt file with the specified XPath.