This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: disabling output escaping
- To: XSL XSL <XSL-List at mulberrytech dot com>
- Subject: Re: disabling output escaping
- From: Bob White <milkchaser at yahoo dot com>
- Date: Tue, 14 Mar 2000 12:49:57 -0800 (PST)
- Cc: smuench at us dot oracle dot com
- Reply-To: xsl-list at mulberrytech dot com
Steve,
-------------------
Your stylesheet
-------------------
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/" >
<xsl:text
disable-output-escaping="yes"><![CDATA[<tr>]]></xsl:text>
</xsl:template>
</xsl:stylesheet>
I used this very same stylesheet using
xmlparserv2.jar 1,096KB 03/01/2000 8:35 PM
It inserts escaped output (ie. <TR>).
Since various XML/HTML translations occur as this e-mail makes its
way to the list, let me separate what I'm seeing with dashes...
What I am seeing in my output is &-#-6-0-; not '<'.
IE 5.0 interprets this as the string "<TR>" not the tag <TR>.
The (abbreviated) java code I use to invoke the XSLT processor is
DocumentFragment xmlResult;
XSLProcessor processor = new XSLProcessor();
XSLStylesheet xsl ...;
XMLDocument xml ...;
xmlResult = processor.processXSL( xsl, xml );
if ( out != null )
( (XMLNode)xmlResult ).print( new PrintWriter(out) );
Is there a way to determine the version number of the Oracle XML
parser/ XSLT processor?
..Bob.
=====
-- Bob White --
See photos of Oxana, my beautiful bride-to-be!
http://milkchaser.tripod.com
203-926-1888 x3287
"Make it legal" -- www.norml.org
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list