我在xml中有一个标签,如
<Radio values="Husband~Husband|Wife~Wife|Son~Son|Daughter~Daughter|Father~Father|Mother~Mother"></Radio>
现在我必须将属性拆分为Husband, Wife, Son, Daughter, Father, Mother
并将每个属性用作value
<input type = "radio" value = "<the value i get from the list>" />
属性的值
任何人都可以告诉我如何实现这个目标吗?