Add attribute from template engine
|Reported by:||Maxim Reznik||Owned by:|
|Component:||Matreshka - XML Processor||Version:||0.7.0|
We need a new construction in template engine to add (or delete?) new attribute of some XML/HTML element.
For instance we have
<fieldset> and we want to convert it to
<fieldset disabled> if some condition is met. Setting
disabled="false" doesn't work, dut to value of attribute doesn't matter in HTML.
The construction could look like: