Extract the attribute of a tag from Plone site and make it the contents of a tag in theme
===

I'm trying to extract the attribute of a tag in my Plone site and make it the contents of
a tag in my theme.

**The specific usecase:**

I'd like to extract the plone site title from #portal-logo, the markup in the Plone site looks like this:

    <a id="portal-logo" title="Cool Plone Site" accesskey="1" href="http://mysite">
          <img src="http://mysite/logo.png" 
              alt="Cool Plone Site" 
              title="Cool Plone Site" 
              height="56" width="215">
    </a>

The title should be inserted between h1 tags in the header tag of my template 

    <header>
         <h1>Cool Plone Site</h1>
    </header>