この動的な Web サイトでは、URL は次のようになります: departments/CHEM.html
CHEM はパラメーターです。
<xsl:param name="dep" select="'CHEM'" />
xml の一部を以下に示します
<course acad_year="2012" cat_num="5085" offered="Y">
<term term_pattern_code="1" fall_term="Y" spring_term="N">fall term</term>
<department code="CHEM">
<dept_long_name>Department of Chemistry and Chemical Biology</dept_long_name>
<dept_short_name>Chemistry and Chemical Biology</dept_short_name>
</department>
</course> ....
H1 タグで使用する dept_short_name を取得しようとしていますが、成功していません。
<h2><xsl:value-of select="course/department/[code={@$dep}]"/></h2>
助言がありますか???ありがとう!