<div>
<a href="M_TestNamespace_StoredNumber_Swap``1_2_890a5ef1.htm">
Swap
<span class="languageSpecificText">
<span class="cs"><</span>
<span class="vb">(Of </span><span class="cpp"><</span>
<span class="fs"><'</span><span class="nu">(</span>
</span>
T
<span class="languageSpecificText">
<span class="cs">></span>
<span class="vb">)</span>
<span class="cpp">></span>
<span class="fs">></span>
<span class="nu">)</span>
</span>
</a>
<div>
I would like using XSLT and translate above into the result like this:
<div>
Swap(T)
<div>
FYI, the “(” and “)” are from <span class="nu"/>.
You might want to create a parameter to hold the ‘nu’ value.
Then, you would be able to extract the language specific text like so
Here is the full XSLT
When applied to your sample XML, the following is output
Change the parameter to ‘vb’ and you get the following