I have JSON and xml but I want to create xslt file using json.
from xml code how can xslt file is created.
JSON CODE:
{
"?xml": {
"@version": "1.0"
},
"request": {
"control": {
"senderid": "",
"password": "",
"controlid": "",
"uniqueid": "false",
"dtdversion": "3.0",
"includewhitespace": "false"
},
"operation": {
"authentication": {
"sessionid": ""
},
"content": {
"function": {
"@controlid": "",
"create_potransaction": {
"transactiontype": "Purchase Order",
"datecreated": {
"year": "2021",
"month": "8",
"day": "18"
},
"vendorid": null,
"referenceno": "Example - Spend Management",
"vendordocno": "PO0085",
"datedue": {
"year": "2022",
"month": "3",
"day": "3"
},
"message": "test.. thru code",
"returnto": {
"contactname": "Lee, Wei"
},
"payto": {
"contactname": "Lee, Wei"
},
"deliverto": {
"contactname": "Lee, Wei"
},
"state": "Pending",
"potransitems": {
"potransitem": {
"itemid": "1009--Lab Test Kits",
"warehouseid": "200--200",
"quantity": "8",
"unit": "Each",
"price": "500",
"locationid": "200",
"departmentid": "200"
}
}
}
}
}
}
}
}
------------------------------------------------------------
XML CODE:

Md SarfarajPosted Aug 17, 2021, 11:27 AM