The level tag determines in which order the tags are matched. It starts with level1.
- If a level matches and there are no sub-levels no further levels are evaluated and the matching stops.
- Otherwise, the search continues with the next level.
The order in which the levels are written in the XML is not important, the mathematical order is used (level1, then level2 etc).
To make the resulting string dependent on more then one Xpath or SHE, you can use sub-levels, ie. if you have level1-1, it is evaluated only when level1 matches. If then level1-1 matches, its result is taken, else the result is determined by level1.
- fetch_content=true, this will get any plain-text-content the found tag encloses or the sip-header content
- fetch_attribute="id", this will get the value of the attribute named "id" which should be present in the identified tag