[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: <% ... %> and html output method
> From: Steve Muench [mailto:smuench@xxxxxxxxxxxxx] > > | When I use XSLT with the html output method, often I'm > actually producing > | JSP files. In the currently shipping versions of JSP, the > JSP file cannot > | be a valid XML document because the use of <%, <%= and %> > in JSP files > | really is necessary for directives as well as script snippets. > > This isn't true. JSP 1.0 defines XML-friendly equivalents of > every non-XML-friendly syntax like: <%=, <%, etc. > > <jsp:directive.xxx> > <jsp:scriptlet> > <jsp:expression> > etc. Thanks for the correction, you're right. However, I'm stuck with JSP 0.92 for the time being, which does not support these. (I'm using Netscape Application Server, which still supports JSP 0.92 only.) But you motivated me to read the JSP 0.92 documentation again, and it looks like I can use: <h1> <SCRIPT RUNAT="server"> request.write(request.getParameter("title")); </SCRIPT> </h1> Which is a little bit better than my option #1. thanks, mark XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|