retrieving information from a parent node
How can I retrieve the attributes(the complete tag) of a parent node while I'm at one of it's childs?
Ive tried various xpath expression but none worked.
My problem is the following:
<a a1=1 a2=0>
<xsl:template match = "a" >
<!-not related code-->
<!-- in this point I have to do: <xsl:copy-of select="@*"/>
(output -> <a a1=1 a2=0> )-->