Hi all,
Here i want insert a <li> item inside existing <ul>.
I tried this,
XML
<ul id="top_menu">XPATH
<li><a>1</a></li>
<li><a>2</a></li>
<li><a>3</a></li>
</ul>
<xpath expr="//ul[@id='top_menu']/li[1]" position="after">I got my new item "100" at last item of <ul>. but i need it in after 1 item.
<li><a>100</a></li>
</xpath>
Thanks in advance..
You could also use "//ul" position="inside"