As I am new to xml, I am trying to convert a table that we use to maintain our products features to xml for publication to a web page. While I have the following sample XML file, I can't seem to figure out how to write the xsl to put the information into a table format.

Should I rearrange the elements of the XML?
Is there a way to pull out the Attributes and SubAttributes in order to make a header row(s) for the table?
Should I create a seperate node for the directory that list the attributes and sub attributes?