title: XSLT to convert an XML to XML not giving results expected...
body: <p>Is this the correct way to write this xslt ? First is the XML snippet I want to convert, second is the xslt I'm writing and finally the result:</p>
  
  <pre><code>&lt;ysl:TableNodeStyle TableRenderingOrder="RowsFirst"&gt; 
        &lt;ysl:TableNodeStyle.Table&gt; 
          &lt;y:Table Insets="30,0,0,0" RelativeLocation="0,0"&gt; 
            &lt;y:Table.Rows
  
  &gt; 
                  &lt;y:Row MinimumSize="10" Size="185.389513343799" Insets="30,0,0,0" Style="{y:GraphMLReference 2}"&gt; 
                    &lt;y:Row.Labels&gt; 
                      &lt;y:Label LabelModelParameter="{x:Static ysl:StretchStripeLabelModel.West}" Style="{y:GraphMLReference 1}" PreferredSize="72,15"&gt; 
                        &lt;y:Label.Text&gt;Development&lt;/y:Label.Text&gt; 
                      &lt;/y:Label&gt; 
                    &lt;/y:Row.Labels&gt; 
                  &lt;/y:Row&gt;
  </code></pre>
  
  <p>Next</p>
  
  <pre><code>    &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
      xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl" xmlns:ysl="http://www.yworks.com/xml/yfiles-for-silverlight/1.0/xaml" 
  &gt; 
    &lt;xsl:output method="xml" indent="yes"/&gt; 
  
    &lt;xsl:template match="/"&gt; 
  
      &lt;xsl:element name="graphml"&gt; 
        &lt;xsl:element name="graph"&gt; 
          &lt;xsl:element name="TableNodeStyle"&gt; 
            &lt;xsl:attribute name="TableRenderingOrder"&gt;&lt;xsl:value-of select="TableRenderingOrder"/&gt;&lt;/xsl:attribute&gt; 
  
            &lt;xsl:element name="TableNodeStyle.Table"&gt; 
              &lt;xsl:element name="Table"&gt; 
              &lt;xsl:attribute name="Table"&gt;&lt;xsl:value-of select="Table"/&gt;&lt;/xsl:attribute&gt; 
                &lt;xsl:element name="Table.Rows"&gt; 
                  &lt;xsl:element name="Row"&gt; 
                    &lt;xsl:attribute name="Row"&gt;&lt;xsl:value-of select="Row"/&gt;&lt;/xsl:attribute&gt; 
                    &lt;xsl:element name="Label"&gt; 
                      &lt;xsl:attribute name="Label"&gt;&lt;xsl:value-of select="Label"/&gt;&lt;/xsl:attribute&gt; 
                    &lt;!--&lt;y:Row.Labels&gt; 
                      &lt;y:Label LabelModelParameter="{x:Static ysl:StretchStripeLabelModel.West}" Style="{y:GraphMLReference 1}" PreferredSize="72,15"&gt; 
                        &lt;y:Label.Text&gt;Development&lt;/y:Label.Text&gt;--&gt; 
                    &lt;/xsl:element&gt; 
                  &lt;/xsl:element&gt; 
                &lt;/xsl:element&gt; 
              &lt;/xsl:element&gt; 
            &lt;/xsl:element&gt; 
          &lt;/xsl:element&gt; 
        &lt;/xsl:element&gt; 
      &lt;/xsl:element&gt; 
    &lt;/xsl:template&gt; 
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Finally, </p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt; 
  &lt;graphml&gt; 
    &lt;graph&gt; 
      &lt;TableNodeStyle TableRenderingOrder=""&gt; 
        &lt;TableNodeStyle.Table&gt; 
          &lt;Table Table=""&gt; 
            &lt;Table.Rows&gt; 
              &lt;Row Row=""&gt; 
                &lt;Label Label="" /&gt; 
              &lt;/Row&gt; 
            &lt;/Table.Rows&gt; 
          &lt;/Table&gt; 
        &lt;/TableNodeStyle.Table&gt; 
      &lt;/TableNodeStyle&gt; 
    &lt;/graph&gt; 
  &lt;/graphml&gt;
  </code></pre>
  
  <p>This is obviously not working as expected and I'm not sure what I'm doing wrong. ANy help would be most appreciated.</p>