File: Data.xml
File: Transform.xslt
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
full
abbreviated
name(/descendant-or-self::*)
name(//*)
Output:
CCCc1
full abbreviated name(/descendant-or-self::*) name(//*) data data
CCCc2
full abbreviated name(/descendant-or-self::*) name(//*) data data
CCCc3
full abbreviated name(/descendant-or-self::*) name(//*) data data