0
XPathのselect式の2つの属性値を比較したいと思います...具体的には、typeのtid属性とpersonのcategory属性を比較したいと思います。それを動作させることは可能ですか? :)XSLTで選択したXPath内で親要素の属性を子の属性と比較することはできますか?
<xsl:template match="/people/type">
<div class="type">
<h3>
<a name="./{@tid}"><xsl:value-of select="./title"/></a>
</h3>
<ul>
<lh>Persons with this type:</lh>
<xsl:apply-templates select="../employees/person[@[email protected]]"/> <!-- here I would like to pass attribute tid of an type element -->
</ul>
</div>
</xsl:template>
ありがとうございます!あなたは私の日を救った:) – user3216673