how to select an element from a json array using xslt?

How can I select each element in a json array individually using xslt?JSON:\[code\]"data":{"array":["item1", "item2", item3"]}\[/code\]I tried //data/array and I get all of the values combined into one result like so: item1item2item3I've tried the same select statement in a for each as well. It only retrieves one combined node.I'm using saxon for the xslt and jruby to convert the json to xml form. This is a small subset of the project, so I know that the json is being parsed properly and that my environment is set up. I think it's probably something wrong with my JSON?
 
Back
Top