I am designing an XML and wish to allow binary data to be encoded as either base16 or base64. The default will be base16.
For specifying base64, I wish to have an attribute. My two options are:
<foo encoding='base64'>TqpuiunH0mEWcSkYSINkTQffuny=</foo>
and:
<foo base='64'>TqpuiunH0mEWcSkYSINkTQffuny=</foo>
I think that the first is more descriptive but suspect that the second might be better. I'm looking for people's reactions.
Thanks.