skip to Main Content

Converting XML Records to JSON Using XSLT Transformation – Issue with Number Formatting

I'm working on a project where I fetch data from a database using a stored procedure. The data is returned in XML format like this: <record> <field name="ID">8f7e-25fbcce2cdc7</field> <field name="TRANSACTIONSTATUS">202</field> <field name="TRANSAMT">1.90</field> <field name="SNDNAME">MR. Jade</field> <field name="RECVNAME">MR. Lucas</field> <field name="SNDACCTNUMBER">8224002623</field>…

VIEW QUESTION

Filtering Json response updating mongodb database

I'm trying to filter a json response and use the filtered response to update several documents in my mongodb collection. The Json response looks like this: {"88996940":{"charge":"5","start_count":"10","status":"Completed","remains":"90","currency":"USD"}, "88996961":{"charge":"8","start_count":"50","status":"Completed","remains":"50","currency":"USD"}, "88999796":{"charge":"7","start_count":"80","status":"Completed","remains":"20","currency":"USD"}} "88996940","88996961" and "88999796" are the order id's. I want to filter…

VIEW QUESTION
Back To Top
Search