xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Embedding HTML in JSP


Subject: [xsl] Embedding HTML in JSP
From: Amit Khare <amitk@xxxxxxxxxxxxx>
Date: Thu, 05 Apr 2001 11:49:29 -0500



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">&lt;%=request.getParameter(\&quot;productid\&quot;)%&gt;</xsl:attribute>
</xsl:element>


I got the output
<input type="hidden" name="ProductID" value="<%=request.getParameter(\&quot;productid\&quot;)%>">


Somehow the processor (Xalan and MSXML) is not processing the &quot; 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




Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor