Thank you Boris. With you mentioned changes, suppose I only want to check, if 
the script element owns a class value "xyz", i.e. <script class="xyz">

Could I use something like this?

  int32_t containsClassVar = scriptElem->FindAttrValueIn(aNameSpaceID,
                             "class", "xyz", eCaseMatters);

  // proceed depending on value of containsClassVar

What do I have to use for "aNameSpaceID"? This is not clear to me.

Jeremy
_______________________________________________
dev-security mailing list
dev-security@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-security

Reply via email to