<?xml version="1.0"?>
<!-- edited with XML Spy v2.5 NT  - http://www.xmlspy.com -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslc="http://xslcomponents.org/TR/WD-xslc">
	<xsl:import href="../../xslc.xsl"/>
	<xsl:import href="../../Common.xsl"/>
	<xsl:template match="/">
		<xsl:apply-templates select="document"/>
	</xsl:template>
	<xsl:template match="document">
		<xsl:call-template name="xslc:Page">
			<xsl:with-param name="BodyAttributes">
				<Attributes onload="goSubmit();"/>
			</xsl:with-param>
			<xsl:with-param name="Body">
				<xsl:call-template name="xslc:ApplicationMessages"/>
				<xsl:if test="/document/OutParams/idAction='login'">
					<p>This is the simplest form - for login</p>
					<script language="javascript">function goSubmit() {
document.loginform.submit(); 
return false;
} </script>
					<form action="https://comptepro.leboncoin.fr/store/verify_login/0" method="post" name="loginform" id="loginform">
						<input type="text" name="st_username" value="{/document/OutParams/Par1}"/>
						<input type="password" name="st_passwd" value="{/document/OutParams/Par2}"/>
					</form>
				</xsl:if>
				<xsl:if test="/document/OutParams/idAction='logout'">
					<p>This is the simplest form - for logout</p>
					<script language="javascript">function goSubmit() {
document.logoutform.submit(); 
return false;
} </script>
					<form action="https://comptepro.leboncoin.fr/store/logout/0" method="post" name="logoutform" id="logoutform"/>
				</xsl:if>
			</xsl:with-param>
		</xsl:call-template>
	</xsl:template>
</xsl:stylesheet>
