2

I'm learning how to use libxml2 from Apple's sample XMLPerformance project but it's for the SAX model of parsing.

Can anyone provide a sample of libxml2 DOM parsing? Many thanks.

yuji
  • 16,695
  • 4
  • 63
  • 64
海 夏
  • 21
  • 1
  • 2

1 Answers1

2

look at this website for different parsers. It does contain few DOM parsers.

http://www.raywenderlich.com/553/how-to-chose-the-best-xml-parser-for-your-iphone-project

Vignesh
  • 10,205
  • 2
  • 35
  • 73
  • You will have to write your own or you can use any of those given the above mentioned link. However look at this post for some useful wrapper functions http://stackoverflow.com/a/1496199/641062 – Vignesh Feb 21 '12 at 06:11
  • **thank you, seems GData DOM Parser you mentioned is a good choice** – 海 夏 Feb 21 '12 at 07:49
  • Welcome. Glad to be of some help. – Vignesh Feb 21 '12 at 07:51