cancel
Showing results for 
Search instead for 
Did you mean: 

HANA - XML Parser support

Former Member
0 Kudos

Hi all,

We wrote a javascript to process xml, but how to call it from stored procedure?

We tried to use odata service to create xml output. We can create some feed with attribute names but that is not exactly same as normal xml.

Can we apply some configuration to make it create a normal XML ( attribute b   ound by <aaa></aaa>?

Would appreciated if you could share and help. Thanks.

Cheers,

Hilda

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

XSODATA returns either ATOM+XML or JSON.  There is no configuraiton to make it return 'normal' XML as you describe it or any other custom format.

You can not call from a procedure to XSJS.  You would need to construct your service to call from XSJS to the procedure, have the procedure return its data and then do the XML formatting at the XSJS layer.