Is there a command line command or utility I can use to show only the tag structure of an xml document? I looked at xmllint but I didn't see a switch to do it. For a structure like
<tag1><tag2><tag2-5>value1</tag2-5><tag3>value2</tag3></tag2></tag1>
I want to see
<tag1><tag2><tag2-5></tag2-5><tag3></tag3></tag2></tag1>