Subject: [xsl] 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 |
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><%=request.getRequestURI()%></xsl:text> </xsl:attribute> and have tried mine: <xsl:attribute name="action"> <xsl:text disable-output-escaping="yes"><%=request.getRequestURI()%></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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:element namespace iss, David Carlisle | Thread | Re: [xsl] How do you set the action, Mike Brown |
Re: [xsl] namespace problem with DO, Michael Pediaditakis | Date | [xsl] Adding tags and text to multi, Holbrook, R Cody (Co |
Month |