forsyde / f2dot

A tool for plotting the XML intermediate representation of ForSyDe models
https://forsyde.ict.kth.se
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Variables in XPath queries #2

Closed ugeorge closed 8 years ago

ugeorge commented 8 years ago

XPath 1.0 offers limited extraction capabilities. Usually they are enhanced by the host language (like XSLT) through the use of variables (i.e. passing the results of complex expressions). f2dot could benefit from some simple pre-condition in form of extracted "variables". This has to be implemented in the Python source code.

ugeorge commented 8 years ago

Future enhancements might consider forming dictionaries with multiple variable entries instead of a single pre-evaluated query. For now I see no use of it in ForSyDe models, so I will keep this issue closed.