XML attribute alias

TheCrazu

New Member
Is there a way to declare an alias for element attributes? For example I've got an element \[code\]<Item>\[/code\] with an two boolean attributes \[code\]fooAttribute\[/code\] and \[code\]barAttribute\[/code\], with aliases \[code\]foo\[/code\] and \[code\]bar\[/code\] such that any of the following is valid:\[code\]<Item foo="true" bar="false" /><Item foo="true" barAttribute="false" /><Item fooAttribute="true" bar="false" /><Item fooAttribute="true" barAttribute="false" />\[/code\]
 
Back
Top