Re: special charracters in stylesheet parameter - agai
<xsl:output method="text" encoding="windows-1250"/> ^^^^^^^^^^^^^ In text output there are no markup characters, so there are no special characters that need to be escaped (and no way of escaping any character) <xsl:value-of select="$test" disable-output-escaping="yes"/> so d-o-e has no effect. Of course it is (normally) bad style to use it even for xml output. Xalan -p test "'test á test'" data.xml stylesheet.xsl produces "test á test" As expected. The input parameter is a string so it is not parsed as XML so & # 2 5 5 ; is not a reference to a acute but rather the 6 characters ampersand hash 2 5 5 semicolon. On output those characters are just output as themselves in text mode, there is no escaping being done. If you need to input in XML syntax, place teh string in an XML file and process it using the document() function. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format