如何拆分xml属性的值?

时间:2013-02-26 04:32:17

标签: xml xslt-1.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>" />属性的值

任何人都可以告诉我如何实现这个目标吗?

0 个答案:

没有答案