title: Java XStream - How to ignore some elements
body: <p>I have the following XML:</p>
  
  <pre><code>&lt;xml version="1.0" encoding="UTF-8"?&gt; 
  &lt;osm version="0.6" generator="CGImap 0.0.2"&gt;
   &lt;bounds minlat="48.1400000" minlon="11.5400000" maxlat="48.1450000" maxlon="11.5430000"/&gt;
   &lt;node id="398692" lat="48.1452196" lon="11.5414971" user="Peter14" uid="13832" visible="true" version="18" changeset="10762013" timestamp="2012-02-22T18:59:41Z"&gt;
   &lt;/node&gt;
   &lt;node id="1956100" lat="48.1434822" lon="11.5487963" user="Peter14" uid="13832" visible="true" version="41" changeset="10762013" timestamp="2012-02-22T18:59:39Z"&gt;
    &lt;tag k="crossing" v="traffic_signals"/&gt;
    &lt;tag k="highway" v="traffic_signals"/&gt;
    &lt;tag k="TMC:cid_58:tabcd_1:Class" v="Point"/&gt;
    &lt;tag k="TMC:cid_58:tabcd_1:Direction" v="positive"/&gt;
    &lt;tag k="TMC:cid_58:tabcd_1:LCLversion" v="9.00"/&gt;
    &lt;tag k="TMC:cid_58:tabcd_1:LocationCode" v="35356"/&gt;
    &lt;tag k="TMC:cid_58:tabcd_1:NextLocationCode" v="35357"/&gt;
    &lt;tag k="TMC:cid_58:tabcd_1:PrevLocationCode" v="35355"/&gt;
   &lt;/node&gt;
  &lt;/osm&gt;
  </code></pre>
  
  <p>I just want to map the elements (node) to an object, but I'm having to problems:</p>
  
  <ol>
  <li>It's complaining about bounds elements, because I don't want to map them.</li>
  <li>Not all <code>nodes</code> have <code>tags</code> so I'm getting some issues with it.</li>
  </ol>