This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Embedding HTML in JSP
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Embedding HTML in JSP
- From: Amit Khare <amitk at myrealbox dot com>
- Date: Thu, 05 Apr 2001 11:49:29 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi ,
This my first mail.
I was trying to embed html into my JSP pages through XSL.
Trying to output :
<input type="hidden" name="ProductID"
value="<%=request.getParameter(\"productid\")%>">
the \ act as the escape characters.
I wrote the following :
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">ProductID</xsl:attribute>
<xsl:attribute
name="value"><%=request.getParameter(\"productid\")%></xsl:attribute>
</xsl:element>
I got the output
<input type="hidden" name="ProductID"
value="<%=request.getParameter(\"productid\")%>">
Somehow the processor (Xalan and MSXML) is not processing the "
entity.
It will be great if somebody could help me out.
Thanks in advance guys,
Amit
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list