IOE

Main Documentation Download

xmlgetattrib

Program: xmlgetattrib

Author: Irtza Sharif

Function: returns the value of an attribute in an xml file

Usage:

    • xmlgetattrib [-i infile] [-o outfile] xml_path attribute

if no infile is specified it will read from standard input and if no outfile is specified it will write to standard output.

Infile is an XML file

outfile will be where the attribute value is dumped

xml_path is the path to the tag containing the attribute

attribute is the name of the attribute to retrieve the value of