RE: Getting encoding error on svg output
Ragulf, It's possible that since you're doing the transformation via an ASP file, and writing the results using Response.Write(oXml.transformNode(oXsl)), the result tree is being serialized not by the XSL processor but by something else, and so your attempts to direct the XSL processor to use ISO8859-1 in xsl:output may have no effect. (Specifying the encoding in xsl:output only works in the XSL processor does the serializing.) However, I would be surprised that Microsoft's ASP parts are by default outputting to an encoding that Microsoft's browser can't handle. Well, I'm fumbling in the dark here so I hope someone more knowledgable will answer. One way to work toward a solution would be to use an external XSL processor such as saxon or msxsl.exe, to process your xml with output to a file; then you could try specifying the encoding as iso8859-1 in xsl:output and it might give you what you need since you will have the XSL processor doing the serializing. Lars XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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