> I am using stylesheet parameters to pass values to be displayed in the > final html. > > Does Xalan-C support multi-byte encodings in stylesheet parameters, and > if it does, which encoding does it expect - Does it expect parameter to > be in the encoding of the input XML document, or of the input XSL > document? Or is it based on the host machine?
The APIs expect a XalanDOMString instance, which is always encoded in UTF-16. There is a convenience constructor that transcodes from the local code page. For any other encodings, you will need to transcode the data yourself, perhaps by using one the Xerces-C transcoders. Dave