<html><head></head><body><div class="ydp1f03821ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false"> <div><div><div id="ydpe5f4354ayiv4472137597"><div id="ydpe5f4354ayiv4472137597yqtfd35408" class="ydpe5f4354ayiv4472137597yqt3323631808"><div>
<div dir="ltr" data-setdir="false">not sure why my first post is not formatted, sending it second time to make sure if it comes formatted or not:</div><div dir="ltr" data-setdir="false"><br></div><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: <<a shape="rect" href="mailto:sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org" rel="nofollow" target="_blank">sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org</a>></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="<a shape="rect" href="http://www.opengis.net/gml" rel="nofollow" target="_blank">http://www.opengis.net/gml</a>" xmlns:gs="<a shape="rect" href="http://www.opengis.net/pidflo/1.0" rel="nofollow" target="_blank">http://www.opengis.net/pidflo/1.0</a>" xmlns:con="urn:ietf:params:xml:ns:geopriv:conf" entity="<a shape="rect" href="mailto:sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org" rel="nofollow" target="_blank">sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org</a>"></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></div></div></div><div><br></div></div>
        <div><br></div><div><br></div>
        
        </div><div id="ydpe5f4354ayahoo_quoted_9820153453" class="ydpe5f4354ayahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, April 6, 2022, 03:07:34 AM EDT, Artur Hovsepyan <hvspa@yahoo.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydpe5f4354ayiv4472137597"><div id="ydpe5f4354ayiv4472137597yqtfd35408" class="ydpe5f4354ayiv4472137597yqt3323631808"><div>
<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: <<a shape="rect" href="mailto:sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org" rel="nofollow" target="_blank">sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org</a>></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="<a shape="rect" href="http://www.opengis.net/gml" rel="nofollow" target="_blank">http://www.opengis.net/gml</a>" xmlns:gs="<a shape="rect" href="http://www.opengis.net/pidflo/1.0" rel="nofollow" target="_blank">http://www.opengis.net/pidflo/1.0</a>" xmlns:con="urn:ietf:params:xml:ns:geopriv:conf" entity="<a shape="rect" href="mailto:sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org" rel="nofollow" target="_blank">sip:+6478897789@ims.mnc0xx.mccxxx.3gppnetwork.org</a>"></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></div></div>
            </div>
        </div></body></html>