I'm trying to get a value of a tag of an element referenced by idref.
<ksiazka id="k2">
<title> title 1 </title>
<wydawnictwo idref="wyd1"/>
</ksiazka>
<wyd id="wyd1">
<name>Zielona Sowa</name>
</wyd>
To get title of < ksiazka > all I have to do is
<xsl:template match="ksiazka">
<xsl:value-of select "./title"/>
But how to get < name > out of < wyd >? Any suggestions?