guys! I need to create some sort of meta language which I could embed in XML and then parse with Java. For example:
[if value1>value2 the
Java has a scripting API that you could use for this. Lookup the API documentation of the package javax.script.
javax.script
You could include code in for example JavaScript in the code element, and execute that using the scripting API.
code