Forum Moderators: open
The innerHTML string from my html doc is something along the lines of :
<span class="brand">Aventinus</span> <span class="beer">Eisbock</span>
Obviously, this is not a great string to use as my comparison, as it is rife with special characters. Is there a way to take this string and convert it to something a little less special, a string that has no special characters so I can make that non-special string also be my comparison line in my XML doc.
I had created: <span class="brand">Aventinus</span> <span class="beer">Eisbock</span>
but then I will have to make this long ass string while escaping each special character on the XML doc, where if I could just get rid of them on the HTML side's return string, that would be swell.
Thanks in advance...