title: how do i create my two tags under one header using xsl
body: <p>total newbie here and we are learning xml and xsl.
  we were given a table and we turned it into xml.
  however, i'm having a bit of a problem with xsl..</p>
  
  <p>i have created this xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes" ?&gt;
  &lt;?xml-stylesheet type="text/xsl" href="items.xsl" ?&gt;
  
  &lt;sales&gt;
      &lt;sale&gt;
          &lt;id&gt;1027&lt;/id&gt;
          &lt;firstName&gt;Elaine&lt;/firstName&gt;
          &lt;lastName&gt;Conner&lt;/lastName&gt;
          &lt;street&gt;Ap #177-657 Pede Avenue&lt;/street&gt;
          &lt;city&gt;Miller&lt;/city&gt;
          &lt;postCode&gt;2143&lt;/postCode&gt;
          &lt;salesQuantity&gt;100&lt;/salesQuantity&gt;
          &lt;productId&gt;p101&lt;/productId&gt;
      &lt;/sale&gt;
      &lt;sale&gt;
          &lt;id&gt;1105&lt;/id&gt;
          &lt;firstName&gt;Shelby&lt;/firstName&gt;
          &lt;lastName&gt;Hinton&lt;/lastName&gt;
          &lt;street&gt;P.O. Box 551, 5296 Penatibus Rd&lt;/street&gt;
          &lt;city&gt;Granville&lt;/city&gt;
          &lt;postCode&gt;2142&lt;/postCode&gt;
          &lt;salesQuantity&gt;75&lt;/salesQuantity&gt;
          &lt;productId&gt;p201&lt;/productId&gt;
      &lt;/sale&gt;
      &lt;sale&gt;
          &lt;id&gt;1122&lt;/id&gt;
          &lt;firstName&gt;Bryar&lt;/firstName&gt;
          &lt;lastName&gt;Weiss&lt;/lastName&gt;
          &lt;street&gt;P.O. Box 511, 5053 Ac Avenue&lt;/street&gt;
          &lt;city&gt;Campsie&lt;/city&gt;
          &lt;postCode&gt;2153&lt;/postCode&gt;
          &lt;salesQuantity&gt;150&lt;/salesQuantity&gt;
          &lt;productId&gt;p105&lt;/productId&gt;
      &lt;/sale&gt;
  </code></pre>
  
  <p>the heading i have is
  id, name, address, product name, sales quantity</p>
  
  <p>how do i place my firstName and lastName inside the same header under name?
  i got stuck with the second td tag as i don't know how to place both firstName and lastName in the same header?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  
      &lt;xsl:template match="/"&gt;
          &lt;html&gt;
              &lt;head&gt;
                  &lt;title&gt;Sales Department&lt;/title&gt;
              &lt;/head&gt;
              &lt;body&gt;
                  &lt;h1&gt;Sales Department Details&lt;/h1&gt;
                  &lt;table&gt;
                      &lt;tr&gt;
                          &lt;th&gt;ID&lt;/th&gt;
                          &lt;th&gt;Name&lt;/th&gt;
                          &lt;th&gt;Address&lt;/th&gt;
                          &lt;th&gt;Product Name&lt;/th&gt;
                          &lt;th&gt;Sales Quantity&lt;/th&gt;
                          &lt;th&gt;Sales Value&lt;/th&gt;
                      &lt;/tr&gt;
  
                      &lt;xsl:for-each select="sales/sale"&gt;
                      &lt;tr&gt;
                          &lt;td&gt;&lt;xsl:value-of select="id" /&gt;&lt;/td&gt;
                          &lt;td&gt;&lt;xsl:value-of select="firstName &amp;#160" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;/xsl:for-each&gt;
                  &lt;/table&gt;
              &lt;/body&gt;
          &lt;/html&gt;
      &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>thanks in advance for your help</p>