How to display every unique, element, attribute, and value of a xml? Basically I want to display distinct attributes and values of an element.
ex: <books> <book price="10.23" > <para id="1"> . . . </para> <para id="2"> . . . </para> </book> <book price="10.23" > <para id="1"> . . . </para> <para title="name"> . . . </para> </book> </books> output should be: book price para id title _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
