I want yo use the EXSLT - DYN:EVALUATE in a style sheet. I have added the names pace but I don't know where the .xsl file I need to import is. I don't believe I have XALAN installed to point the import to. How would I install this? Once installed and I point it to the .xsl will it pick up the function and apply it? I am running Windows. The XSLT file is included at the top of the XML document.
Thanks
Pete
Xalan has the EXSL dyn:evaluate function built-in, you don't need to import anything in order to use it. You just need to declare the namespace. I'll give a small example:
input.xml:
dyn_evaluate.xsl:
Running
gives
Running
xalan.exe -p path '/root/bar' input.xml dyn_evaluate.xsl
gives
Hope this helps.