<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" 
	xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution" 
	xmlns:dsf="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution">
<xsl:output method="xml"/>
<xsl:template match="/">
<dfs:dataFields>
	<xsl:for-each select="/dfs:myFields/dfs:dataFields/dsf:AtlantaBravesTeam">
		<dsf:AtlantaBravesTeam>
			<xsl:attribute name="LastName">
				<xsl:value-of select="@LastName"/>
			</xsl:attribute>
			<xsl:attribute name="FirstName">
				<xsl:value-of select="@FirstName"/>
			</xsl:attribute>
			<xsl:attribute name="ExtraFieldForInfoPath">										
				<xsl:value-of select="@LastName"/><xsl:if test="@FirstName != ''">, </xsl:if><xsl:value-of select="@FirstName"/>					
			</xsl:attribute>
		</dsf:AtlantaBravesTeam>
	</xsl:for-each>
</dfs:dataFields>
</xsl:template>
</xsl:stylesheet>
