This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Decode and Display XML

0

I have a custom plugin to dissect packets. The packets have XML payload as data, As such:

'<'data>
          '<'userid> 2 '<'/userid>
          '<'name> bob '<'/name>
'<'/data>

How would I dissect/decode or extract that information to display it as follows in wireshark:

Userid: 2

name: bob

The protocol is not HTTP/XML.

asked 25 May '15, 09:39

XQW1123's gravatar image

XQW1123
4681014
accept rate: 0%

edited 25 May '15, 09:42

hi XQW1123,

i have the same issue, the xml dissector is displaying the xml file as it is, not in the format i need it to be display.

i think it should use dtds for that purpose but still i am not able to resolve the issue, please tell me if you got your desired output.

thanks

(10 Aug '15, 04:18) zombimind

One Answer:

1

You could send the data to the xml dissector, at leas it would be pretty printed in the GUI.

answered 26 May '15, 02:02

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

Thanks, but do you know if its possible further format the GUI?

(26 May '15, 13:57) XQW1123