[xsde-users] How to remove the g1: string from the generated xml doc

Jerry Yin jerry.yin at yahoo.com
Wed Jun 10 12:23:29 EDT 2009


Hi Experts,
 
The serializer appended the g1: token in the generated XML doc. How to remove it. Here are the original XML doc and the serialized doc.
 
thanks,
Jerry
 
Original XML:
 
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
           version="5" state="partial"
           entity="sip:alice at example.com">
<dialog id="zxcvbnm3" call-id="a84b4c76e66710"
        local-tag="1928301774"
        remote-tag="8736347" direction="initiator">
  <state reason="replaced">terminated</state>
</dialog>
</dialog-info>
 
Serialized XML:
<g1:dialog-info xmlns:g1="urn:ietf:params:xml:ns:dialog-info" entity="sip:alice@
example.com" state="partial" version="5">
  <g1:dialog call-id="a84b4c76e66710" direction="initiator" id="zxcvbnm3" local-
tag="1928301774" remote-tag="8736347">
    <g1:state reason="replaced">terminated</g1:state>
  </g1:dialog>
</g1:dialog-info>


      __________________________________________________________________
The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/


More information about the xsde-users mailing list