<?xml-stylesheet href="../../../style/xml-full.css" type="text/css"?>
<?xml-stylesheet href="css3-modsel-6.css" type="text/css"?>
<test xmlns:xlink="http://www.w3.org/1999/xlink">
 <title>Attribute value selector</title>
 <author>Daniel Glazman</author>
 <metadata>
  <item> <name>CSS 3 Module</name> <data>W3C Selectors</data> </item>
  <item> <name>Next</name> <data xlink:type="simple" xlink:href="css3-modsel-7.xml">Attribute multivalue selector</data> </item>
  <item> <name>Previous</name> <data xlink:type="simple" xlink:href="css3-modsel-5.xml">Attribute existence selector</data> </item>
  <item> <name>Test #</name> <data>7 of 303</data> </item>
  <item> <name>Testing</name> <data>Attribute value selector</data> </item>
  <item> <name>ID</name> <data>6</data> </item>
  <item> <name>Date</name> <data>2001-07-11</data> </item>
  <item> <name>Revision</name> <data>1.0</data> </item>
 </metadata>
  <content>
<address xmlns="http://www.w3.org/1999/xhtml" title="foo">
<span title="b">This address should </span>
  <span title="aa">have a green background because the
  selector in last rule does not apply to inner SPANs.
</span>
</address>
</content>
  <source>
   <css>address { background-color : red }
address[title=&quot;foo&quot;] { background-color : lime }
span[title=&quot;a&quot;] { background-color : red }</css>
   <xml>
&lt;address xmlns=&quot;http://www.w3.org/1999/xhtml&quot; title=&quot;foo&quot;&gt;
&lt;span title=&quot;b&quot;&gt;This address should &lt;/span&gt;
  &lt;span title=&quot;aa&quot;&gt;have a green background because the
  selector in last rule does not apply to inner SPANs.
&lt;/span&gt;
&lt;/address&gt;
</xml>
  </source>
</test>