title: How to mark HTML DOM TextNode
body: <p>I am populating all TextNodes in a page, posting their nodeValues to a remote site with an ajax query. When the associated callback is invoked, I want to somehow mark the TextNode fed to the callback function but the attributes of TextNode seem to be immutable except nodeValue.</p>
  
  <p>A number of options that I can think of now are somehow to mark nodeValue without changing the seen text-using a non-printable character? or wrapping the TextNode object/class, removing it from dom tree and reinjecting it back to the dom tree?</p>
  
  <p>Are these doable? Do you have any (other) ideas?</p>
  
  <p>Thanks in advance.</p>