title: structure, under certain conditions
body: <p>I'm trying my hand at html but I don't know how to do it. That's my but doesnt work:(:</p>
  
  <pre><code>&lt;xsl:template match="*[contains(local-name(), '.')]"&gt;
    &lt;xsl:element name="{translate(local-name(), '.', '_')}" namespace="{namespace-uri()}"&gt;
      &lt;xsl:apply-templates select="@* | node()"/&gt;
    &lt;/xsl:element&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>Does anyone have an idea how to deal with it?</p>