File: Data.xml
C1
C2
C3
D1
D2
File: Transform.xslt
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
//AAA/CCC/text()
//AAA/CCC/DDD
:
:
Output:
//AAA/CCC/DDD : D1//AAA/CCC/text() : C2C3