[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

problems with forms and XSL

Subject: problems with forms and XSL
From: "Rohit Peyyeti" <rohit@xxxxxxxxxxxxxxxxx>
Date: Wed, 19 Jul 2000 09:54:36 +0530
problems with forms
Hello:

I have written two .JSP pages which have XML and corresponding
XSL too. 

The first .JSP page has a form and on action of this form a second
.JSP page is called. This form is written in XML like the following:

<textbox type="text" name="fname"/> and then the .XSL is applied.
The XSL file has the form action and submit button.

When I open this page in the browser and enter some text in the
textbox and hit submit, I see that "%0D%0A" get appended to the
field name. For example "fname%0D%0A". I can see this in the 
Address bar of the browser after hitting submit.

This happens if I take the attributes of the tag like this in XSL:

<input type="text">
<xsl:attribute name="name">
 <xsl:value-of select="@name"/>
</xsl:attribute>
</input>

But it works fine if I hardcode the name of the input box in the XSL
like this:

<input type="text" name="fName"/>

Can anyone please help me? 

Thanks,
Rohit 









 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.