Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

XS Engine OData remove m: and d: tags from XML / json HANA response

$
0
0

Hello,

I receive an XML when querying my HANA OData application via URL.

 

When trying to parse the XML in an external Application, its is denied because of the prefixes "m:" and "d:".

 

Here is an example snippet of the XML:

 

<m:properties>

 

<d:Longitudem:type="Edm.Decimal">13.722118</d:Longitude>

 

<d:Latitudem:type="Edm.Decimal">51.056386</d:Latitude>

<d:PLZm:type="Edm.String">01067</d:PLZ>

<d:Streetm:type="Edm.String">Adlergasse</d:Street>

<d:Hausnummerm:type="Edm.String">1</d:Hausnummer>

<d:ortsnamem:type="Edm.String">Dresden</d:ortsname>

</m:properties>


Is there a way to change the output of HANA's XS engine for example from the <m:properties>-tag to <properties>?

So it can be processed by external applications?


Thank you in advance,

Leon


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>