title: writing and condition in template match in xslt
body: <p>Implementing and condition in template match</p>
  
  <pre><code>       &lt;xsl:template match="a[!(img)and(not(@id))]"&gt;
  </code></pre>
  
  <p>I want to write a template such that</p>
  
  <pre><code>       a tag should not have attribute id and should not be followed by img tag.
  </code></pre>
  
  <p>But its showing error.
  Can any one help</p>