Is it possible to use nasal variables as params in a xml file ?
Example : In this code, some properties are used as aliases to write checklists texts.
- Code: Select all
<PropertyList>
...
<params>
<header>instrumentation/checklists/Tittle</header>
<L0>instrumentation/checklists/L[0]</L0>
<L1>instrumentation/checklists/L[1]</L1>
<L2>instrumentation/checklists/L[2]</L2>
<L3>instrumentation/checklists/L[3]</L3>
<L4>instrumentation/checklists/L[4]</L4>
...
</params>
I'd like to replace these properties by variables stored in a hash in a nasal file.