次のようなデータがあって…
<?xml version="1.0" encoding="shift_jis"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<main>
 <customers>
  <customer><name>yamada</name><off_id>2</off_id></customer>
  <customer><name>suzuki</name><off_id>2</off_id></customer>
  <customer><name>sato</name><off_id>1</off_id></customer>
 </customers>
 <offices>
  <office><num>1</num><name>dev</name></office>
  <office><num>2</num><name>eng</name></office>
  </offices>
</main>
次のように表示したいのですが…
yamada : eng
suzuki : eng
sato : dev
どう書いたらよいのか分からんす。教えてくらさい。
<?xml version="1.0" encoding="shift_jis"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html> <body><xsl:apply-templates/></body> </html>
</xsl:template>
<xsl:template match="main"><xsl:apply-templates/></xsl:template>
<xsl:template match="customers"><xsl:apply-templates/></xsl:template>
<xsl:template match="customer">
<xsl:value-of select="name"/> : ???<br/>
</xsl:template>
<xsl:template match="offices"></xsl:template>
</xsl:stylesheet>