|
Subject: Re: [xsl] How do you set the action attribute for an HTML form using XSLT? From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 2 Apr 2003 18:36:37 +0100 |
since you're using so much d-o-e anyway (and probably generating jsp was
a reason for having d-o-e in the language in the first place) it's
probably not worth generating elements and attribute nodes at all:
ie instead of
<form method="get">
<xsl:attribute name="action" saxon:disable-output-escaping="yes"
xmlns:saxon="http://icl.com/saxon">
<xsl:text><%=request.getRequestURI()%></xsl:text>
</xsl:attribute>
do
<xsl:text disable-output-escaping="yes"><![CDATA[
<form method="get" action="<%=request.getRequestURI()%25>">
<%Date d = new Date();%>
...
</form>
]]></xsl:text>
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: RE: [xsl] How do you set the ac, Ricardo Castillo | Thread | Re: [xsl] How do you set the action, Ricardo Castillo |
| RE: [xsl]pass a parameter from the , David Petersen | Date | Re: [xsl] Replacing many attributes, J.Pietschmann |
| Month |