Re: (Auto-)detecting which XML encoding is necessary/
>>>>> "Ben" == Ben Stover <bxstover@xxxxxxxxxxx> writes: Ben> Sometimes the situation occurs that an XML document does not Ben> fit to its own encoding setting in the first line. Is there Ben> a way to find out the best/necessary/required encoding Ben> setting for an XML doc resp. what I have to write in the Ben> first line: Ben> <?xml version="1.0" encoding="iso-8859-1"?> Ben> or Ben> <?xml version="1.0" encoding="UTF-8"?> Ben> or simply Ben> <?xml version="1.0"?> Just write: <xsl:output method="xml" encoding="UTF-8"/> and the XSLT processor will ensure both that the correct XML declaration is written, and that the document is produced in the correct encoding. -- Colin Adams Preston Lancashire
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