xsl-list
[Top] [All Lists]

<xsl:call-template> and form variables

2004-09-22 19:15:03
I have a template,which is a form that takes in
username and password:

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:template name="menubarv">
<form action="?CN=process_login_member" method="post">
<table border="0">
<tr>
<td align="center" bgcolor="8080C0">
User name: <input type="text" name="username"
size="8"/>
Password: <input type="password" name="password"
size="8"/>                                      
</td>
</tr>
<tr>
<td align="center">
<input type="submit" name="submit" value="Sign in" />
</td>
</tr>
</table>
</form>
</xsl:template>
</xsl:stylesheet>

From another xslt file I include this template by
using <xsl:call-template> element. But I got empty
values When I tried to get the from values (username
and password) in a PHP file.  

I don't know why they didn't get passed.

Thanks,


                
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com


<Prev in Thread] Current Thread [Next in Thread>