You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Andre Lei <an...@runhere.com> on 2000/07/13 19:54:17 UTC

Newbie questions

Hi,

I'm new to the list and have several questions I hope to get answered. I am
using the command-line version.

I'm using Xerces and Xalan to go from XML -> XSL -> JSP. The '<' and '>'
characters keeps getting escaped everytime even though I'm using CDATA in
the XML and/or XSL. There is a -ESCAPE switch that by default escapes the <
> & ' " characters to HTML entities.  There is no documenation to turn this
off nor does providing -ESCAPE & override the defaults.  I'm trying to
produce <%@ page import="foo" %> and the '<' always turns to &lt;.

I also tried the -HTML and -TEXT switches.  The -HTML basically strips out
the xml version="1.0" info from the output document and -TEXT seems to strip
out all HTML tags, but still doesn't produce the <%@ that I want.

Can someone verify the uses for these switches?

Thanks,

Andre