Acme Packet (MOSC)

MOSC Banner

Extracting XML from Mime Attachment

in Acme Packet (MOSC) 3 commentsAnswered

I am trying to extract geoLocation information from a mime attachment in an invite. Here is the relevant portion of the invite:


Content-Type: application/pidf+xml

Content-ID: +16172101000@10.17.2.200

Content-Length: 1120


<?xml version="1.0" encoding="UTF-8"?>

<presence xmlns="urn:ietf:params:xml:ns:pidf"

xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10"

xmlns:cl=" urn:ietf:params:xml:ns:pidf:geopriv10:civicLoc"

xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model"

xmlns:caps="urn:ietf:params:xml:ns:pidf:caps"

xmlns:cisco="http://www.cisco.com"

entity="pres:geotarget@example.com">

<dm:device id="sg89ae">

<caps:devcaps>

<cisco:gateway>false</cisco:gateway>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center