Darrel Riekhof writes:
>I'm trying to generate JSP files from xml and xsl files...
>How do I get the resulting JSP file to look like [<%@ ... %>]
>instead [of &lt;%@ ... %&gt;]?

Consider going with the text output method. Otherwise, you'll have
to use disable-output-escaping a lot. See the XSLT FAQ for lengthy
discussion of the abilities and hazards of this approach.

>One other small problem, xalan sticks this at the top of my JSP file:
>   <?xml version="1.0" encoding="UTF-8"?>
>How do I turn that off?

If you continue to use the xml output method, you can say
<xsl:output method="xml" omit-xml-declaration="yes" />
.................David Marston

Reply via email to