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

hi all, suppose i have a xml file of a packet and DTD for this xml file. now there is an xml dissector in wireshark (epan/packet-xml.c), Can anyone please tell me that how to use all these to dissect the xml file of a packet. Or how to use the xml dissector????

thanks

asked 07 Aug '15, 02:45

zombimind's gravatar image

zombimind
6337
accept rate: 0%


The xml dissector is used to dissect/pretty print xml inside packets, it can't be used to read xml files. If you want to pars an xml based packet file you would have to write wiretap code to do that.

permanent link

answered 07 Aug '15, 05:41

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

thanks for reply anders, I will follow your suggestion..

(07 Aug '15, 06:16) zombimind

but i can see that there is an xml dissector(epan/dissectors/packet-xml.c) already in wireshark, can you please tell me how to use it,

(07 Aug '15, 06:20) zombimind

As per my previous answer - you can't.

(07 Aug '15, 07:06) Anders ♦

alright anders, thanks...

(09 Aug '15, 21:46) zombimind
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×637
×36

question asked: 07 Aug '15, 02:45

question was seen: 2,370 times

last updated: 09 Aug '15, 21:46

p​o​w​e​r​e​d by O​S​Q​A