Need xslt 1.0 solution for the following string conversion
Input.xml
<root>Array(Com(D,Com(Da,K,V)),Com(D1,K1,V1))</root>
output should look like following
<Array>
<Com att="D">
<Com att="Da">
<K>V</K>
</Com>
</Com>
<Com att="D1">
<K1>V1</K1>
</Com>
</Array>
|