Check this out!
Got time to kick this off!!
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" exclude-result-prefixes="xsl fo">
<xsl:template match="/">
<logs>
<log>
<xsl:attribute name="name"><xsl:value-of select="//*/log[1]"/></xsl:attribute>
<log>
<xsl:attribute name="name">
<xsl:variable name="x" select="//*/log[2]"/>
<xsl:value-of select="substring-after($x,' ')"/>
</xsl:attribute>
<log>
<xsl:attribute name="name"><xsl:value-of select="//*/log[3]"/></xsl:attribute>
<log>
<xsl:attribute name="name">
<xsl:variable name="x" select="//*/log[4]"/>
<xsl:value-of select="substring-after($x,' ')"/>
</xsl:attribute>
<log>
<xsl:attribute name="name"><xsl:value-of select="//*/log[5]"/></xsl:attribute>
</log>
<log>
<xsl:attribute name="name"><xsl:value-of select="//*/log[6]"/></xsl:attribute>
</log>
</log>
</log>
<log>
<xsl:attribute name="name"><xsl:value-of select="//*/log
"/></xsl:attribute>
</log>
</log>
</log>
<log>
<xsl:attribute name="name"><xsl:value-of select="//*/log[10]"/></xsl:attribute>
</log>
<log>
<xsl:attribute name="name"><xsl:value-of select="//*/log[11]"/></xsl:attribute>
</log>
</logs>
</xsl:template>
</xsl:stylesheet>