Software Alternatives & Reviews

xmllint VS XMLStarlet

Compare xmllint VS XMLStarlet and see what are their differences

xmllint logo xmllint

command line XML tool

XMLStarlet logo XMLStarlet

XMLStarlet Command Line XML Toolkit
  • xmllint Landing page
    Landing page //
    2023-05-16
  • XMLStarlet Landing page
    Landing page //
    2019-09-22

xmllint videos

No xmllint videos yet. You could help us improve this page by suggesting one.

+ Add video

XMLStarlet videos

XML query in Bash with XMLStarlet (2 Solutions!!)

Category Popularity

0-100% (relative to xmllint and XMLStarlet)
Programming Language
47 47%
53% 53
OOP
47 47%
53% 53
Note Taking
49 49%
51% 51
Generic Programming Language

User comments

Share your experience with using xmllint and XMLStarlet. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, XMLStarlet should be more popular than xmllint. It has been mentiond 5 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

xmllint mentions (2)

  • Generate RSS feeds with grep(1), sed(1), and Awk(1)
    I strongly recommend adding a schema validator to anything that generates XML. ATOM¹ has a nice schema available² that you can use at the end to check the whole thing (I use xmllint³, since it is in a lot of package repositories). Another nice thing about ATOM compared to RSS is that it has the xml:base attribute, which means you do not need to rewrite relative URLs into absolute ones. You can use recode's⁴... - Source: Hacker News / almost 3 years ago
  • looking for html beautifier
    There is also pup. Or if you want to go with a lot more options with xmllint. Of if you want just to render the html in your terminal. Source: about 3 years ago

XMLStarlet mentions (5)

  • Upload images to imgur via `cmd.exe` with the help of `curl` and `XMLStarlet`, via a single one-liner doskey macro.
    XMLStarlet Windows binary avaiability: http://xmlstar.sourceforge.net/ cURL Windows binary avaiability: https://curl.se/windows/. Source: over 1 year ago
  • Show HN: Xq – command-line XML and HTML beautifier and content extractor
    Shoutout to my go-to: https://github.com/EricChiang/pup#readme (also golang) and my 2nd favorite https://xmlstar.sourceforge.net/. - Source: Hacker News / over 1 year ago
  • Fetch data from XML
    This sounds like a job for either PowerShell or XMLStarlet. Source: over 1 year ago
  • Is it possible for Rundeck to run a script to generate options at job runtime
    Create and run a job that creates another job via shell script. (manipulating or creating an XML/YAML job definition, maybe using xmlstarlet tool or yq). Source: over 2 years ago
  • In Dolphin, how do I add a path to Places via terminal?
    Yes, a customisation script for new KDE (neon) installs. I think I could edit the file using XMLStarlet. Source: almost 3 years ago

What are some alternatives?

When comparing xmllint and XMLStarlet, you can also consider the following products

GNU M4 - GNU M4 is an implementation of the m4 macro preprocessor.

Xidel - Xidel is a command line tool to download html/xml pages and extract data from them using CSS 3 selectors, XPath 3 expressions or pattern-matching templates.

GPP - GPP is a general-purpose preprocessor with customizable syntax, suitable for a wide range of...

Gema - General purpose text macro processor.

Bracmat - Programming language for symbolic computation with extraordinary combination of pattern matching...

GNU sed - sed (stream editor) is a Unix utility that parses text and implements a programming language which...