<div>hello everyone,</div><div> </div><div>i am trying to parse the xml from the message body: <u>get_body_part("application/pidf+xml", "$var(pbody)");</u> and i am getting the following in my pbody var:</div><div><div> </div><div><div>Content-Disposition: render;handling=optional</div><div>Content-ID: <sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org></div><div><?xml version="1.0"?></div><div><presence xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10" xmlns:gml="http://www.opengis.net/gml" xmlns:gs="http://www.opengis.net/pidflo/1.0" xmlns:con="urn:ietf:params:xml:ns:geopriv:conf" entity="sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org"></div><div><dm:device id="Wifi"></div><div><gp:geopriv></div><div><gp:location-info></div><div><gs:Circle srsName="urn:ogc:def:crs:EPSG::5524"></div><div><gml:pos>31.204359 -44.512358</gml:pos></div><div><gs:radius uom="urn:ogc:def:uom:EPSG::8190">10.578000</gs:radius></div><div></gs:Circle></div><div><con:confidence pdf="normal">92</con:confidence></div><div></gp:location-info></div><div><gp:method>DBH_HELO</gp:method></div><div><gp:usage-rules/></div><div></gp:geopriv></div><div><dm:timestamp>2022-04-05T19:16:34Z</dm:timestamp></div><div></dm:device></div><div></presence></div></div></div><div> </div><div> </div><div>how can i escape the first two lines in order to get the xml part of the content?</div><div> </div><div>thanks in advance,</div><div>Art</div><div> </div>