title: Select data with XSLT from XMI and UML tags in xml
body: <p>I'm trying to print this XML file in an HTML table using out of XSLT and I don't know how to get the information from the XMI and UML tags, like <code>XMI.header</code> or <code>XMI.exporter</code>.</p>
  
  <p>I know how to get the attributes from the root tag XMI but not the other tags under.</p>
  
  <p><strong>XML document</strong></p>
  
  <pre><code>&lt;XMI xmi.version="1.2"
      xmlns:UML="org.omg.xmi.namespace.UML"
      timestamp="Wed Apr 21 18:15:34 CEST 2010"&gt;
  
    &lt;XMI.header&gt;
      &lt;XMI.documentation&gt;
        &lt;XMI.exporter&gt;
          ArgoUML (using Netbeans XMI Writer version 1.0)
        &lt;/XMI.exporter&gt;
        &lt;XMI.exporterVersion&gt;0.30(6) revised on $Date: 2010-01-11 22:20:14 +0100 (Mon, 11 Jan 2010) $
        &lt;/XMI.exporterVersion&gt;
      &lt;/XMI.documentation&gt;
      &lt;XMI.metamodel xmi.name="UML" xmi.version="1.4"/&gt;
    &lt;/XMI.header&gt;
  
    &lt;XMI.content&gt;
      &lt;UML:Multiplicity xmi.id="-64--88-0--57--53f31703:128211b208a:-8000:0000000000000DDF"&gt;
        &lt;UML:Multiplicity.range&gt;
      &lt;UML:MultiplicityRange xmi.id="-64--88-0--57--53f31703:128211b208a:-8000:0000000000000DE0"
        lower="1" upper="1"/&gt;
        &lt;/UML:Multiplicity.range&gt;
    &lt;/XMI.content&gt;
  
  &lt;/XMI&gt;
  
  &lt;/UML:Multiplicity&gt;
  </code></pre>
  
  <p><strong>XSLT code</strong></p>
  
  <pre><code>&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"&gt;
  
  &lt;xsl:template match="/"&gt;
      &lt;xsl:apply-templates/&gt;
  &lt;/xsl:template&gt;
  
  &lt;xsl:template match="XMI"&gt;
      XMI Version: &lt;xsl:value-of select="./@xmi.version"/&gt;
      &lt;br/&gt;
      Generated: &lt;xsl:value-of select="./@timestamp"/&gt;
      &lt;br/&gt;
  &lt;/xsl:template&gt;
  
  &lt;/xsl:stylesheet&gt;
  </code></pre>