In a linux command line, I need to get all the text values from all the items in this xml (or at least one like it):
<Configuration xmlns="http://path.com/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" description="The initial configuration setup" name="InitialConfig">
<Cluster>
    <Category name="Change Notification" visibility="Advanced">
        <ConfValue description="I am a description" listDefault="" name="Repositories stuff" propname="com.path.repositories" sinceVersion="1.2" visibility="Advanced">
            <ConfList>
            <ConfListString value="val1"/>
            <ConfListString value="val2"/>
            <ConfListString value="val3"/>
            <ConfListString value="etc"/>
            </ConfList>
        </ConfValue>
    </Category>
    <Category name="List of objects for stuff" visibility="Advanced">
        <ConfValue description="I am a description" listDefault="" name="Repositories for notification" propname="com.path.config" sinceVersion="1.2" visibility="Advanced">
            <ConfList>
                <ConfListString value="val4"/>
                <ConfListString value="val5"/>
                <ConfListString value="val6"/>
                <ConfListString value="etc"/>
            </ConfList>
        </ConfValue>
    </Category>
</Cluster>
I need propname and the ConfListString value. command output would hopefully look like this:
com.path.repositories - val1
com.path.repositories - val2
com.path.repositories - val3
com.path.repositories - etc
com.path.config - val4
com.path.config - val5
com.path.config - val6
com.path.config - etc
On the servers I'm working with, "xmllint --xpath" doesn't work because "Unknown option --xpath" a known issue libxml2. And I don't think they will let me upgrade them.
Thanks in advance!