On 11/2/21 05:57, Daniel P. Berrangé wrote:
On Tue, Nov 02, 2021 at 10:38:05AM +0100, Michal Prívozník wrote:
Yes, the golden rule of XML design is that you should not have to write
a second parser to interpret the value of an attribute / element. Any
structure should be represented in the XML design itself.
Like this?
<tpm model='tpm-tis'>
<backend type='emulator' version='2.0'>
<active_pcr_banks>
<sha256/>
<sha384/>
</active_pcr_banks>
</backend>
</tpm>
Regards,
Stefan