Main Help → All Commands → XML Commands → Entity
The Entity
command lets you define entities to appear in the XML output commands:
Entity (name),(value)
where (name)
is the entity name (without the & and semicolon, e.g., maxTime
to refer to XML entity &maxTime;
) and (value)
is its value.
These entities do not have much function when building and running calculations all in NairnFEAMPM, but if you transfer the XML
commands to another computer for runs and might then want to directly edit those XML
commands, it can be convenient to have entities predefined in the file ready for various uses.
maxTime
or "&maxTime;"
) The commands that accept entities are all commands intended to accept numerical values."&arch;"
). This usage works for many, but not all, commands that accept string arguments. When in doubt, you can test by providing an entity and then checking the resulting XML
to verify the entity was inserted as expected. In addition, the entity you provide is inserted without verifying you have actually defined that entity. It is your responsibility to make sure they are defined in an Entity
command.