<?xml version="1.0" ?><xsl:stylesheet version="1.0"	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"	xmlns:fmp="http://www.filemaker.com/fmpxmlresult"><xsl:variable name="endOfLine"><xsl:text></xsl:text></xsl:variable><xsl:variable name="separator"><xsl:text>,</xsl:text></xsl:variable><xsl:output method="text" encoding="Shift_JIS" /><xsl:template match="fmp:FMPXMLRESULT">	<xsl:variable name="countFields" select="count(fmp:METADATA/fmp:FIELD)" />	<xsl:for-each select="fmp:METADATA/fmp:FIELD">		<xsl:value-of select="./@NAME" />		<xsl:choose>			<xsl:when test="position()=$countFields">				<xsl:value-of select="$endOfLine" />			</xsl:when>			<xsl:otherwise>				<xsl:value-of select="$separator" />			</xsl:otherwise>		</xsl:choose>	</xsl:for-each>	<xsl:for-each select="fmp:RESULTSET/fmp:ROW">	<xsl:for-each select="fmp:COL">	<xsl:value-of select="fmp:DATA" />		<xsl:choose>			<xsl:when test="position()=$countFields">				<xsl:value-of select="$endOfLine" />			</xsl:when>			<xsl:otherwise>				<xsl:value-of select="$separator" />			</xsl:otherwise>		</xsl:choose>	</xsl:for-each>	</xsl:for-each></xsl:template></xsl:stylesheet>