how to hide some specified nodes from XML data for example my XML data is like this
<note>
<to>Tove</to>
<from>
<primary>hyd</primary>
<secondary>delhi</secondary>
</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
i want to hide from tag and child nodes while i am displaying this data in a page using java script or jquery.