summaryrefslogtreecommitdiffstats
path: root/modules/xml.inc
blob: 4fa4b84c779b10fb1900f98c567cb7b6aca88468 (plain) (blame)
1
2
3
4
5
6
#!/bin/ash

xml_get() {
	xmlstarlet sel --text --encode utf-8 --template --value-of "$1" "$2"
}