I am using xslt 3.0(saxon-HE v11.4 library) to convert json to xml in Java.
Need help to extract value from an array
Sample Input json
{
"Details":{
"name":["a","b","c"]
}
}
Require output in below format
<Details>
<name indexarray="0">a</name>
<name indexarray="1">b</name>
<name indexarray="2">c</name>
</Details>