This week's book giveaway is in the OCP forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests and have Scott Selikoff and Jeanne Boyarsky on-line! See this thread for details.
Hi, How to set the charSet parameter using the java XSLT api ? When I use <xsl utput method="html" indent="yes" encoding="iso-8859-1"/> in the XSL file, I am always getting <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> in the output HTML. I want to set the value using the java XSL api for different languages. 1. Can I set the encoding parameter dynamically by taking the parameter value from one of the XML element. 2. Is there anyway to set the value using the XSL java API ? I am using org.apache.xalan.xslt.* classes to transfor XML to HTML based on the XSL file passed.
"satya", Welcome to JavaRanch! We don't have many rules at JavaRanch, but we do have our naming policy which asks people to have a first and last name (the last name cannot be an initial, either). Please head overhere and change your display name to fit with our policy. Thanks!
This will take every ounce of my mental strength! All for a tiny ad: