Need an xslt to convert xml into json.
I have a xml file which is having 3 attributes.
The value in the 3rd attribute is another xml file.
I need an xslt which can read the value of the 3rd attribute as another xml (not just a value) and can convert it into json format.
<?xml version="1.0"?>
<?xml version="1.0"?> // Need this xml (i.e. value of third attribute) to be converted into Json

Can you make it more clear the format of the input, and the exact format of the output, and something can be looked into. A JSON format currently means nothing to me but doesnt mean XSLT cant be made :)