8

I used xmllint package for parsing xml files. Also, I know, that we can use xml2, xmlstarlet too.

But I do not see those packages in Ubuntu Saucy.

Does Saucy contain any default xml parsers?

I need parse xml file one time and I do no want install addition packages for this.

user471011
  • 3,539
  • 8
  • 23
  • 18

1 Answers1

12

I don't know of a "default", but xmllint is included with the libxml2-utils package.

apt-get install libxml2-utils
danorton
  • 232
  • 2
  • 10
  • is this still the preferred way to install `xmllint` itself? – Thufir Jul 30 '17 at 19:29
  • 1
    AFAIK, it's the _only_ package that includes it. See https://packages.ubuntu.com/search?suite=quantal&arch=any&mode=exactfilename&searchon=contents&keywords=xmllint – danorton Jul 31 '17 at 23:30