I have an HTML file as below:
<li class="inactive"><a href="http://msdn.microsoft.com/dn338064" title="Connect">
Connect
</a>
<div class="area">
<div class="arrow">
</div>
</div>
<div class="subNav">
<ul>
<li>
<a href="http://msdn.microsoft.com/dn338452" title="Perspectives">
Perspectives
</a>
</li>
<li>
<a href="http://events.msdn.microsoft.com/" title="Events">
Events
</a>
</li>
<li>
<a href="http://social.msdn.microsoft.com/forums/" title="Forums">
Forums
</a>
</li>
</ul>
</div>
</li>
I wrote the below xpath expression:
concat((//div[@class='subNav']/ul/li/a)[2]," ",(//div[@class='subNav']/ul/li/a)[3])
Is this possible to write the above code in a more simplified way with xpath1.0 ?