私は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>" />
誰でもこれを達成する方法を教えてもらえますか?