pucara_faa
20th January 2010, 13:58
Hi again!
I need to match HTML tags (when one tag opens and when it closes). If I have
<span class="css1">Some text</span>
It's very easy to match it. But I can't match them correctly when the following happens:
<span style="font-weight: bold">So<span style="color:#F00">me</span> text</span>
The first opened tag matchs the first closed tag, not the last one.
If someone can give me an example or tell me how to do it, I'll be really thanked.
Thanks in advanced.
I'm sorry for my poor English, I'm Argentinian
I need to match HTML tags (when one tag opens and when it closes). If I have
<span class="css1">Some text</span>
It's very easy to match it. But I can't match them correctly when the following happens:
<span style="font-weight: bold">So<span style="color:#F00">me</span> text</span>
The first opened tag matchs the first closed tag, not the last one.
If someone can give me an example or tell me how to do it, I'll be really thanked.
Thanks in advanced.
I'm sorry for my poor English, I'm Argentinian