Hi. I am new to xml and have some confusions.
Forgive me but I am a novice programmer but one day I will be an experianced one

Is it possible to select a parents children together with its entities.

E.g


<root>
<root1>
<root2>
<names>
<name> john </name>
<name> sam </name>
<name> meee </name>
</names>
</root2>
</root1>
</root>

<xsl:for-each select="root/root1/root2/">
<xsl:value-of select="names"/>
</xsl:for-each>


expected output:

<name> john </name>
<name> sam </name>
<name> meee </name>