I am trying to get the deli
title
, and then under the deli
title
get the two menu items Made to Order Deli Core
and Turkey Chipotle Petite Wrap
? I'm using beautiful soup 4 to do this and its not working. And the same is true for the entree times?
<html>
<head>
<title></title>
</head>
<body>
<table class="dayinner">
<tr class="lun">
<td class="mealname" colspan="3">LUNCH</td>
</tr>
<tr class="lun">
<td class="station"> Deli</td>
<td class="menuitem">
<div class="menuitem">
<input class="chk" id="S1L0000010000047598_35356" onclick=
"rptlist(this);" onmouseout="wschk(0);" onmouseover=
"wschk(1);" type="checkbox"> <span class="ul" onclick=
"nf('0000047598_35356');" onmouseout="pcls(this);"
onmouseover="ws(this);">Made to Order Deli Core</span>
</div>
</td>
<td class="price"></td>
</tr>
<tr class="lun">
<td class="station"> </td>
<td class="menuitem">
<div class="menuitem">
<input class="chk" id="S1L0000020000047933_06835" onclick=
"rptlist(this);" onmouseout="wschk(0);" onmouseover=
"wschk(1);" type="checkbox"> <span class="ul" onclick=
"nf('0000047933_06835');" onmouseout="pcls(this);"
onmouseover="ws(this);">Turkey Chipotle Petite Wrap</span>
</div>
</td>
<td class="price"></td>
</tr>
<tr class="lun">
<td colspan="3" style="height:3px;"></td>
</tr>
<tr class="lun">
<td colspan="3" style="background-color:#c0c0c0; height:1px;"></td>
</tr>
<tr class="lun">
<td class="station"> Entrée</td>
<td class="menuitem">
<div class="menuitem"><input class="chk" id=
"S1L0000030000044794_08943" onclick="rptlist(this);"
onmouseout="wschk(0);" onmouseover="wschk(1);" type="checkbox">
<span class="ul" onclick="nf('0000044794_08943');" onmouseout=
"pcls(this);" onmouseover="ws(this);">Steamed
Corn</span><img alt="Vegan" class="icon" src=
"images/g_062.gif"><img alt="Mindful Item" class="icon" src=
"images/m_051.gif"></div>
</td>
<td class="price"></td>
</tr>
<tr class="lun">
<td class="station"> </td>
<td class="menuitem">
<div class="menuitem">
<input class="chk" id="S1L0000040000033087_22244" onclick=
"rptlist(this);" onmouseout="wschk(0);" onmouseover=
"wschk(1);" type="checkbox"> <span class="ul" onclick=
"nf('0000033087_22244');" onmouseout="pcls(this);"
onmouseover="ws(this);">Cuban Mojo Roasted Pork Loin</span>
</div>
</td>
<td class="price"></td>
</tr>
</table>
</body>
</html>
or if I could get it into a XML format like this:
<counter name="Deli">
<dish>
<name>Made to Order Deli Core</name>
</dish>
<dish>
<name>Turkey Chipotle Petite Wrap</name>
</dish>
</counter>
Thank you very much in advance, I really appreciate you taking the time to help me.