[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

special charracters in stylesheet parameter - again

Subject: special charracters in stylesheet parameter - again
From: Dusan Zatkovsky <zatkovsky@xxxxxxxxxxxx>
Date: Wed, 26 Jan 2005 11:14:03 +0100
xalan stylesheet parameter
Hi.

I am using XalanC@linux to do some transformations.
Output of this transformation is clear text in windows-1250 encoding.

I have a problem with special non-english characters in stylesheet parameter:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
	<xsl:param name="test"/>
	<xsl:output method="text" encoding="windows-1250"/>

	<xsl:template match="/">
		<xsl:value-of select="$test" disable-output-escaping="yes"/>
	</xsl:template>
</xsl:stylesheet>

Xalan -p test "'test &#225; test'" data.xml stylesheet.xsl produces
"test &#225; test" instead of "test a test".

When output is xml, no problem, because in next process, escapes will be
converted. But I need to disable escapes in this case.

Some hints?

Thanks.


--


Sincerely,
Dusan Zatkovsky

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.