title: XML Manipulation
body: <p>i created an XML files and succeeded validating it with an xsd schema , then a created an xslt file to turn the data on the xml file into a table 
  but every time time a tried to open it into a browser , data are displayed in the same line not on a table , i'm pretty sure that my code is correct and i don't know why  it doesn't work , here is the 3 files :
  <a href="https://www.dropbox.com/sh/gggkh4wg94simrl/2GbiHAGkVF" rel="nofollow">https://www.dropbox.com/sh/gggkh4wg94simrl/2GbiHAGkVF</a></p>
  
  <p>XML FIle:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;?xml-stylesheet type="text/xsl" href="XSLT_XMLToHTML.xml"?&gt;
  &lt;Services&gt;
    &lt;Service WsdlUrl="http://venus.eas.asu.edu/WSRepository/Services/BasicThreeSvc/Service.svc" TryItUrl=""&gt;
      &lt;Name&gt;ABasic Three in SVC&lt;/Name&gt;
      &lt;Provider&gt;http://venus.eas.asu.edu&lt;/Provider&gt;
      &lt;Category&gt;SVC&lt;/Category&gt;
      &lt;Operations&gt;
        &lt;Operation&gt;
          &lt;Name&gt;HelloWorld&lt;/Name&gt;
          &lt;MsgIn&gt;IService_HelloWorld_InputMessage&lt;/MsgIn&gt;
          &lt;MsgOut&gt;Service_HelloWorld_OutputMessage&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;Operation&gt;
          &lt;Name&gt;PiValue&lt;/Name&gt;
          &lt;MsgIn&gt;IService_PiValue_InputMessage&lt;/MsgIn&gt;
          &lt;MsgOut&gt;IService_PiValue_OutputMessage&lt;/MsgOut&gt;
        &lt;/Operation&gt;  
  &lt;Operation&gt;
          &lt;Name&gt;absValue&lt;/Name&gt;
          &lt;MsgIn&gt;IService_absValue_InputMessage&lt;/MsgIn&gt;
          &lt;MsgOut&gt;IService_absValue_OutputMessage&lt;/MsgOut&gt;
        &lt;/Operation&gt;    
      &lt;/Operations&gt;
    &lt;/Service&gt;
  
    &lt;Service WsdlUrl="http://venus.eas.asu.edu/WSRepository/Services/EncryptionWcf/Service.svc?wsdl"&gt;
      &lt;Name&gt;Crypto service in SVC&lt;/Name&gt;
      &lt;Provider&gt;http://venus.eas.asu.edu/&lt;/Provider&gt;
      &lt;Category&gt;SVC&lt;/Category&gt;
      &lt;Operations&gt;
        &lt;Operation&gt;
          &lt;Name&gt;Encrypt&lt;/Name&gt;
          &lt;MsgIn&gt;IService_Encrypt_InputMessage&lt;/MsgIn&gt;
          &lt;MsgOut&gt;IService_Encrypt_OutputMessage&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;Operation&gt;
          &lt;Name&gt;Decrypt&lt;/Name&gt;
          &lt;MsgIn&gt;IService_Decrypt_InputMessage&lt;/MsgIn&gt;
          &lt;MsgOut&gt;IService_Decrypt_OutputMessage&lt;/MsgOut&gt;
        &lt;/Operation&gt;
      &lt;/Operations&gt;
    &lt;/Service&gt;
  
    &lt;Service WsdlUrl="http://venus.eas.asu.edu/WSRepository/Services/WFImage/WFService/Service1.xamlx?wsdl"&gt;
      &lt;Name&gt;Image verifier in workflow&lt;/Name&gt;
      &lt;Provider&gt;http://venus.eas.asu.edu/&lt;/Provider&gt;
      &lt;Category&gt;xamlx&lt;/Category&gt;
      &lt;Operations&gt;
        &lt;Operation&gt;
          &lt;Name&gt;GetImage&lt;/Name&gt;
          &lt;MsgIn&gt;IImage_GetImage_InputMessage&lt;/MsgIn&gt;
          &lt;MsgOut&gt;IImage_GetImage_OutputMessage&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;Operation&gt;
          &lt;Name&gt;IImage_GetImage_InputMessage&lt;/Name&gt;
          &lt;MsgIn&gt;&lt;/MsgIn&gt;
          &lt;MsgOut&gt;&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;Operation&gt;
          &lt;Name&gt;IImage_GetImage_OutputMessage&lt;/Name&gt;
          &lt;MsgIn&gt;&lt;/MsgIn&gt;
          &lt;MsgOut&gt;&lt;/MsgOut&gt;
        &lt;/Operation&gt;    
         &lt;Operation&gt;
          &lt;Name&gt;Reboot&lt;/Name&gt;
          &lt;MsgIn&gt;IReboot_Reboot_InputMessage&lt;/MsgIn&gt;
          &lt;MsgOut&gt;IReboot_Reboot_OutputMessage&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;/Operations&gt;
    &lt;/Service&gt;
    &lt;Service WsdlUrl="http://venus.eas.asu.edu/WSRepository/Services/Encryption/Service.asmx"&gt;
      &lt;Name&gt;Service&lt;/Name&gt;
      &lt;Provider&gt;http://venus.eas.asu.edu&lt;/Provider&gt;
      &lt;Category&gt;asmx&lt;/Category&gt;
      &lt;Operations&gt;
        &lt;Operation&gt;
          &lt;Name&gt;Encrypt&lt;/Name&gt;
          &lt;MsgIn&gt;string&lt;/MsgIn&gt;
          &lt;MsgOut&gt;string&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;Operation&gt;
          &lt;Name&gt;Decrypt&lt;/Name&gt;
          &lt;MsgIn&gt;string&lt;/MsgIn&gt;
          &lt;MsgOut&gt;string&lt;/MsgOut&gt;
        &lt;/Operation&gt;
      &lt;/Operations&gt;
    &lt;/Service&gt;
  
    &lt;Service WsdlUrl="http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php?wsdl" &gt;
      &lt;Name&gt;CalculatorServiceServlet&lt;/Name&gt;
      &lt;Provider&gt;http://graphical.weather.gov/&lt;/Provider&gt;
      &lt;Category&gt;PHP&lt;/Category&gt;
      &lt;Operations&gt;
        &lt;Operation&gt;
          &lt;Name&gt;NDFDgen&lt;/Name&gt;
          &lt;MsgIn&gt;URL&lt;/MsgIn&gt;
          &lt;MsgOut&gt;URL&lt;/MsgOut&gt;
        &lt;/Operation&gt;
         &lt;Operation&gt;
          &lt;Name&gt;LatLonListSubgrid&lt;/Name&gt;
          &lt;MsgIn&gt;URL&lt;/MsgIn&gt;
          &lt;MsgOut&gt;URL&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;Operation&gt;
          &lt;Name&gt;LatLonListSubgrid&lt;/Name&gt;
          &lt;MsgIn&gt;URL&lt;/MsgIn&gt;
          &lt;MsgOut&gt;URL&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;Operation&gt;
          &lt;Name&gt;LatLonListLine&lt;/Name&gt;
          &lt;MsgIn&gt;URL&lt;/MsgIn&gt;
          &lt;MsgOut&gt;URL&lt;/MsgOut&gt;
        &lt;/Operation&gt;    
      &lt;/Operations&gt;
    &lt;/Service&gt;  
  
  &lt;Service WsdlUrl="http://www.ebi.ac.uk/webservices/whatizit/ws?wsdl" &gt;
      &lt;Name&gt;pipelineName&lt;/Name&gt;
      &lt;Provider&gt;http://www.ebi.ac.uk/&lt;/Provider&gt;
      &lt;Category&gt;JAVA&lt;/Category&gt;
      &lt;Operations&gt;
        &lt;Operation&gt;
          &lt;Name&gt;contact&lt;/Name&gt;
          &lt;MsgIn&gt;contact&lt;/MsgIn&gt;
          &lt;MsgOut&gt;contactResponse&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;Operation&gt;
          &lt;Name&gt;getPipelinesStatus&lt;/Name&gt;
          &lt;MsgIn&gt;getPipelinesStatus&lt;/MsgIn&gt;
          &lt;MsgOut&gt;getPipelinesStatusResponse&lt;/MsgOut&gt;
        &lt;/Operation&gt;
        &lt;Operation&gt;
          &lt;Name&gt;queryPmid&lt;/Name&gt;
          &lt;MsgIn&gt;queryPmid&lt;/MsgIn&gt;
          &lt;MsgOut&gt;WhatizitException&lt;/MsgOut&gt;
        &lt;/Operation&gt;        
      &lt;/Operations&gt;
    &lt;/Service&gt; 
  
  &lt;/Services&gt;
  </code></pre>
  
  <p>XSL File:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"&gt;
     &lt;xsl:output omit-xml-declaration="yes" indent="yes" /&gt;
     &lt;xsl:template match="node()|@*" /&gt;
     &lt;xsl:template match="/Services"&gt;
        &lt;html&gt;
           &lt;head&gt;
              &lt;title&gt;XSLT example&lt;/title&gt;
           &lt;/head&gt;
           &lt;body&gt;
              &lt;xsl:apply-templates /&gt;
           &lt;/body&gt;
        &lt;/html&gt;
     &lt;/xsl:template&gt;
     &lt;xsl:template match="Service"&gt;
        &lt;xsl:apply-templates /&gt;
     &lt;/xsl:template&gt;
     &lt;xsl:template match="Operations"&gt;
        &lt;table&gt;
           &lt;thead&gt;
              &lt;tr&gt;
                 &lt;td&gt;Name&lt;/td&gt;
                 &lt;td&gt;Description&lt;/td&gt;
                 &lt;td&gt;Type&lt;/td&gt;
              &lt;/tr&gt;
           &lt;/thead&gt;
           &lt;tbody&gt;
              &lt;xsl:apply-templates /&gt;
           &lt;/tbody&gt;
        &lt;/table&gt;
     &lt;/xsl:template&gt;
     &lt;xsl:template match="Opertaion"&gt;
        &lt;!-- [sic] --&gt;
        &lt;xsl:variable name="service" select="ancestor::Service" /&gt;
        &lt;tr&gt;
           &lt;td&gt;
              &lt;xsl:value-of select="$service/Name" /&gt;
           &lt;/td&gt;
           &lt;td&gt;
              &lt;xsl:value-of select="Name" /&gt;
           &lt;/td&gt;
           &lt;td&gt;
              &lt;xsl:value-of select="$service/Category" /&gt;
           &lt;/td&gt;
        &lt;/tr&gt;
     &lt;/xsl:template&gt;
  &lt;/xsl:transform&gt;
  </code></pre>