Re: <% ... %> and html output method

Subject: Re: <% ... %> and html output method
From: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Tue, 23 Nov 1999 11:29:09 -0600
| 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.

See Section 5 "JSP Pages as XML Documents"
in the PDF version of the JSP 1.0 spec at:

http://java.sun.com/products/jsp/download.html

For more specifics.

Using these is it totally possible with JSP 1.0
to build a JSP page which is well-formed XML.

I know for sure that the Oracle JSP 1.0 Reference
Implementation supports both the shortcut-style
syntax as well as the XML-savvy syntax.

See http://technet.oracle.com/tech/java/servlets/
and click on (Software) for a free download.

_________________________________________________________
Steve Muench, Consulting Product Manager & XML Evangelist
Business Components for Java Development Team
http://technet.oracle.com/tech/java
http://technet.oracle.com/tech/xml
----- Original Message -----
From: Mark Hayes <mark@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
Sent: Tuesday, November 23, 1999 11:22 AM
Subject: <% ... %> and html output method




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread