Hi I need to convert below part
<ul>
<li id="L_115775_tr">
<span>
<a href="http://support.microsoft.com/ph/11732" id="L_115775">Windows Vista Solution Center</a>
</span>
<li id="L_116381_tr">
<span>
<a href="http://support.microsoft.com/ph/8722" id="L_116381">Windows Internet Explorer 7 Solution Center</a>
</span>
<li id="L_125705_tr">
<span>
<a href="http://support.microsoft.com/ph/1173" id="L_125705">Windows XP Solution Center</a>
</span>
<li id="L_147192_tr">
<span>
<a href="http://support.microsoft.com/gp/cp_email" id="L_147192">E-mail Solution Center </a>
</span>
<li id="L_140164_tr">
<span>
<a href="http://support.microsoft.com/ph/8753" id="L_140164">2007 Microsoft Office Suites Solution Center</a>
</span>
</li>
</li>
</li>
</li>
</li>
</ul>
To
<ul>
<li id="L_115775_tr">
<span>
<a href="http://support.microsoft.com/ph/11732" id="L_115775">Windows Vista Solution Center</a>
</span>
</li>
<li id="L_116381_tr">
<span>
<a href="http://support.microsoft.com/ph/8722" id="L_116381">Windows Internet Explorer 7 Solution Center</a>
</span>
</li>
<li id="L_125705_tr">
<span>
<a href="http://support.microsoft.com/ph/1173" id="L_125705">Windows XP Solution Center</a>
</span>
</li>
<li id="L_140164_tr">
<span>
<a href="http://support.microsoft.com/ph/8753" id="L_140164">2007 Microsoft Office Suites Solution Center</a>
</span>
</li>
</ul>
Basically it should copy all nodes and attributes till occurence of next <li> . Same process should be repeated for all <li> using xslt 1.0