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

How do you set the action attribute for an HTML form u

Subject: How do you set the action attribute for an HTML form using XSLT?
From: "Ricardo Castillo" <roadster9@xxxxxxxxx>
Date: Mon, 31 Mar 2003 16:48:22 -0600
html form action
Hi.  I'm trying to transform XML into an HTML/JSP page.
I've followed the suggestion at http://www.dpawson.co.uk/xsl/sect2/N1553.html#d1670e229

using:

<xsl:attribute name="action" saxon:disable-output-escaping="yes" xmlns:saxon="http://icl.com/saxon">
  <xsl:text>&lt;&#37;&#61;request.getRequestURI()&#37;&gt;</xsl:text>
</xsl:attribute>

and have tried mine:

<xsl:attribute name="action">
  <xsl:text disable-output-escaping="yes">&lt;&#37;&#61;request.getRequestURI()&#37;&gt;</xsl:text>
</xsl:attribute>

but neither seem to work for the action attribute of the
HTML form tag.  My way and the suggestion seem to work fine
with say the input tag.  I've tried all sorts of variations,
but I just can't get it to work.

This is what I get:

  <form method="get" action="<%25=request.getRequestURI()%25>">

And of course I'd like:

  <form method="get" action="<%=request.getRequestURI()%>">

What am I missing or is this truely a bug?

Thanks,

Ricardo J. Castillo
roadster9@xxxxxxxxx




_____________________________________________________________
Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus

 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.