$ perl htmltreexpather.pl
Usage: htmltreexpather.pl file _tag div
Demo1
HTML::Element=HASH(0xb163f4) 0.1.1.1.0.1.1.1.0
key1val1key2val2key3val3key4val4key5val5key6val6key7val7key8val8key9val9key10val10key11val11
/html/body/div/div/div/div/div/div/table
//table[@id='wrappedcontent']
//table[@id='wrappedcontent']
------------------------------------------------------------------
HTML::Element=HASH(0xb16574) 0.1.1.1.0.1.1.1.0.0.0.0.0
key1val1key2val2key3val3key4val4key5val5key6val6key7val7key8val8key9val9key10val10key11val11
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table
//table[@id='wrappedcontent']/tbody/tr/td/table
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table
------------------------------------------------------------------
HTML::Element=HASH(0xb166c4) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.0.0.0
key1
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb16874) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.1.0.0
key2
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb6b9ac) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.2.0.0
key3
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr[2]/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr[2]/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr[2]/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb6bb5c) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.3.0.0
key4
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr[3]/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr[3]/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr[3]/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb6bd0c) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.4.0.0
key5
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr[4]/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr[4]/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr[4]/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb6bebc) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.5.0.0
key6
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr[5]/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr[5]/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr[5]/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb6c06c) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.6.0.0
key7
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr[6]/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr[6]/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr[6]/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb6c21c) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.7.0.0
key8
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr[7]/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr[7]/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr[7]/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb6c3cc) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.8.0.0
key9
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr[8]/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr[8]/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr[8]/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb6c57c) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.9.0.0
key10
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr[9]/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr[9]/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr[9]/td/strong
------------------------------------------------------------------
HTML::Element=HASH(0xb6c72c) 0.1.1.1.0.1.1.1.0.0.0.0.0.0.10.0.0
key11
/html/body/div/div/div/div/div/div/table/tbody/tr/td/table/tbody/tr[10]/td/strong
//table[@id='wrappedcontent']/tbody/tr/td/table/tbody/tr[10]/td/strong
//table[@id='wrappedcontent']/tbody[@bgcolor='red' and @class='shnitzel']/tr/td/table/tbody/tr[10]/td/strong
------------------------------------------------------------------
##################################################################
Demo1
HTML::Element=HASH(0xb6c44c) 0.1.2
Altes Schulhaus Ossingen
/html/body/div
/html/body/div
/html/body[@topmargin='0' and @marginwidth='0' and @leftmargin='0' and @bgcolor='#FFFFFF' and @onload='check();' and @marginheight='0']/div[@class='leerzeile']
------------------------------------------------------------------
HTML::Element=HASH(0xb6c13c) 0.1.4
Guntibachstrasse 10
/html/body/div[3]
/html/body/div[3]
/html/body[@topmargin='0' and @marginwidth='0' and @leftmargin='0' and @bgcolor='#FFFFFF' and @onload='check();' and @marginheight='0']/div[3]
------------------------------------------------------------------
HTML::Element=HASH(0xb6c2cc) 0.1.6
8475 áOssingen
/html/body/div[5]
/html/body/div[5]
/html/body[@topmargin='0' and @marginwidth='0' and @leftmargin='0' and @bgcolor='#FFFFFF' and @onload='check();' and @marginheight='0']/div[5]
------------------------------------------------------------------
HTML::Element=HASH(0xb6bdec) 0.1.9
sekretariat.psossingen@bluewin.ch
/html/body/div[8]
/html/body/div[8]
/html/body[@topmargin='0' and @marginwidth='0' and @leftmargin='0' and @bgcolor='#FFFFFF' and @onload='check();' and @marginheight='0']/div[8]
------------------------------------------------------------------
HTML::Element=HASH(0xb6da44) 0.1.11
Tel:052 317 15 45
/html/body/div[10]
/html/body/div[10]
/html/body[@topmargin='0' and @marginwidth='0' and @leftmargin='0' and @bgcolor='#FFFFFF' and @onload='check();' and @marginheight='0']/div[10]
------------------------------------------------------------------
HTML::Element=HASH(0xb6bd1c) 0.1.12
Fax:052 317 04 42
/html/body/div[11]
/html/body/div[11]
/html/body[@topmargin='0' and @marginwidth='0' and @leftmargin='0' and @bgcolor='#FFFFFF' and @onload='check();' and @marginheight='0']/div[11]
------------------------------------------------------------------
##################################################################