0

我在 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>" />

谁能给我一个想法如何实现这一目标?

4

0 回答 0