Convert the JSON attribute from smallcase to uppercase in XQuery and Marklogic 10

Viewed 22

I have loaded the below JSON in MarkLogic and I need to convert the Name property value to upper case:

{ "Name": "User", "Id": "1", "date": "2022-01-01" }

Any way to convert the value to upper case in Marklogic and XQuery, looking like below format?

{ "Name": "USER", "Id": "1", "date": "2022-01-01" }
1 Answers
Related