Accessibility Statement

Xmllint Windows

To save the result to a file:

(Note: This installs xmlstarlet , which includes xmllint -like functionality. For pure xmllint , look for libxml2 via Cygwin or MSYS2). xmllint windows

The --xpath option is extremely useful for querying XML: To save the result to a file: (Note:

Extract the host attribute:

xmllint --xpath "string(//database/@host)" config.xml xmllint windows

Output: localhost

EXPLORE ZOE


Stay up to date with ZOE

You'll receive our ongoing science and nutrition emails, plus news and offers.

Podcast

Podcast cover

Listen to the #1 health podcast in the UK

Daily30+

Daily30+ cover

Add a scoop of ZOE science to your plate

MenoScale

MenoScale cover

Make sense of your menopause symptoms. Get your score.