hostinvest
Technical User
How do I move from an XML file to an HTML unordered list and back? I guess it should be a function to traverse, but I am very confused because they do not seem to have the same format.
<menu>
<menu>Home</menu>
<menu>Services
<menu>Paint</menu>
<menu>Check</menu>
</menu>
</menu>
<ul>
<li>Home</li>
<li>Services
<ul>
<li>Paint</li>
<li>Repair</li>
</ul>
</li>
</ul>
Please help.
<menu>
<menu>Home</menu>
<menu>Services
<menu>Paint</menu>
<menu>Check</menu>
</menu>
</menu>
<ul>
<li>Home</li>
<li>Services
<ul>
<li>Paint</li>
<li>Repair</li>
</ul>
</li>
</ul>
Please help.