XSLT How to access attribute from different tag level?
Clash Royale CLAN TAG #URR8PPP XSLT How to access attribute from different tag level? I am new to xsl & xslt. I am using xslt for xml to xml conversion. I have below xml file. I am iterating through REQ-IF/record using for-each loop and inside the loop I want to iterate REQ-IF/Attributes/Attribute to access @Name value. I tried using ../ but it only gives one level up values and do not allow me to iterate. Could you please help me with this? Thanks. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <REQ-IF> <record> <Name>ABC</Name> <Presentationname>Task Record</Presentationname> <GUID>123</GUID> </record> <record> <Name>DEF</Name> <Presentationname>Role Record</Presentationname> <GUID>456</GUID> </record> <record> <Name>GHI</Name> ...