<?xml version="1.0" encoding="UTF-8" ?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:template match="family">
        <toto>
        <xsl:apply-templates/>
        </toto>
    </xsl:template>
    
    <xsl:template match="father">
        <pater><xsl:value-of select='concat(., " - ", @age)'/></pater>
    </xsl:template>
    
    <xsl:template match="mother">
        <mater><xsl:value-of select='concat(., " - ", @age)'/></mater>
    </xsl:template>
    
    <xsl:template match="text()">
    </xsl:template>
    
</xsl:stylesheet>