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.
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.
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.