<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto">Can anyone suggest the easiest / fastest way (with fewest lines of code)<VAR id=yui-ie-cursor></VAR> to take the xml below and create a hash with only the ids in the hash while preserving the hierarchy and using XML::Simple?</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"><FONT size=2 face=Arial><!DOCTYPE TREELAYOUT [ </FONT> </div>
<DIV align=left><FONT size=2 face=Arial><SPAN style="FONT-SIZE: 10pt"><!ELEMENT treeMap (treeTop*)></SPAN></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial><SPAN style="FONT-SIZE: 10pt"><!ELEMENT treeTop (blockInfo, treeTop*)></SPAN></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial><SPAN style="FONT-SIZE: 10pt"><!ELEMENT blockInfo (id, name, description, field1)></SPAN></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial><SPAN style="FONT-SIZE: 10pt"><!ELEMENT id (#PCDATA)></SPAN></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial><SPAN style="FONT-SIZE: 10pt"><!ELEMENT name (#PCDATA)></SPAN></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial><SPAN style="FONT-SIZE: 10pt"><!ELEMENT description (#PCDATA)></SPAN></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial><SPAN style="FONT-SIZE: 10pt"><!ELEMENT field1 (#PCDATA)></SPAN></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial><SPAN style="FONT-SIZE: 10pt">]></SPAN></FONT></DIV>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"><?xml version="1.0" encoding="iso-8859-1"?><BR><treeMap><BR>    <treeTop><BR>     <blockInfo><BR>      <id>111</id><BR>   <name>Item 111</name><BR>   <description>Item Description</description><BR>   <field1>Additional Info</field1><BR>  </blockInfo><BR>  <BR>  <treeTop><BR>      <blockInfo><BR>          <id>111b</id><BR>    <name>Item 111b</name><BR>       <description>Item Description</description><BR>       <field1>Additional Info</field1><BR>     
 </blockInfo><BR>  </treeTop><BR>  <treeTop><BR>      <blockInfo><BR>          <id>222b</id><BR>    <name>Item 222b</name><BR>       <description>Item Description</description><BR>       <field1>Additional Info</field1><BR>      </blockInfo><BR>   <treeTop><BR>       <blockInfo><BR>              <id>111c</id><BR>        <name>Item 111c</name><BR>           <description>Item
 Description</description><BR>           <field1>Additional Info</field1><BR>          </blockInfo><BR>   </treeTop><BR>   <treeTop><BR>       <blockInfo><BR>              <id>222c</id><BR>        <name>Item 222c</name><BR>           <description>Item Description</description><BR>           <field1>Additional Info</field1><BR>         
 </blockInfo><BR>   </treeTop><BR>  </treeTop><BR>  <treeTop><BR>   <blockInfo><BR>    <id>333b</id><BR>    <name>Item 333b</name><BR>    <description>Item Description</description><BR>    <field1>Additional Info</field1><BR>   </blockInfo><BR>  </treeTop><BR> </treeTop><BR> <treeTop><BR>     <blockInfo><BR>   <id>222</id><BR>   <name>Item 222</name><BR>   <description>Item Description</description><BR>   <field1>Additional Info</field1><BR>  </blockInfo><BR style="RIGHT: auto"> </treeTop><BR></treeMap></div></div></body></html>