title: How to create a <xhtml:link ... /> with DOMDocument
body: <p>The sitemap is created with DOMDocument and everything works fine. Now I want to create it multilingual. How can I create the xhtml:link  element in the following code?</p>
  
  <pre><code>&lt;url&gt;
    &lt;loc&gt;http://www.ihremusterdomain.de/english/&lt;/loc&gt;
    &lt;xhtml:link rel="alternate" hreflang="de" href="http://www.ihremusterdomain.de/deutsch/" /&gt;
    &lt;lastmod&gt;2014-04-15T16:13:34+02:00&lt;/lastmod&gt;
    &lt;changefreq&gt;daily&lt;/changefreq&gt;
  &lt;/url&gt;
  </code></pre>
  
  <p>The other elements like url, loc, lastmod and changefreq yet exist.</p>