javascript to search attributes in an XML document
<p>i want to make a javascript that reads a XML document as an input (let say "C010.xml"), searches for certain tags and then returns the value within these tags.
For example, in the expression </p>

<blockquote>
  <p><code>&lt;lesson_mode&gt;normal&lt;/lesson_mode&gt;</code></p>
</blockquote>

<p>to return the attribute "normal".</p>

<p>Could you suggest sth please?</p>

<p>Thanks!</p>
