<xml>
Set the new variable to a xml model.
Only one model can not specify relation, and multiple models are specified by relation.
var(required) Set the new variable to a xml model
name(optional, deprecated) Name of the xml model (specified by name) Deprecated! suggested specified by relation
relation(optional) Relation of the xml model (specified by relation)
There are 3 types of models that come from database, java class, and xml file.
<xml> tag can get the model from the xml file, <entity> tag can get the model from the database and java class.
Xml has 2 usages:
Xml file content
Get some of the xml elements value.
Result: