<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: lang code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 29 Aug 2008 07:13:28 GMT</pubDate>
    <description>DZone Snippets: lang code</description>
    <item>
      <title>showing attributes content after element (like link hreflang)</title>
      <link>http://snippets.dzone.com/posts/show/1342</link>
      <description>You can use pseudo-elements to insert content via CSS, and you can retrieve elements attributes to show them as new pseudo-elements.&lt;br /&gt;&lt;br /&gt;Example : show links hreflang attribute.&lt;br /&gt;&lt;br /&gt;XHTML :&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;a href="" hreflang="fr"&gt;a link to a french page&lt;/a&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;CSS :&lt;br /&gt;&lt;code&gt;&lt;br /&gt;a:after {&lt;br /&gt;	content: attr(hreflang);&lt;br /&gt;	color: #999;&lt;br /&gt;	margin-left: 0.2em;&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Thu, 02 Feb 2006 16:08:09 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/1342</guid>
      <author>fredbird (Fred Bird)</author>
    </item>
  </channel>
</rss>
