>I would not recommend tranforming to a XalanDOMString then casting every >character to a narrow character. It looks aweful...I know...
>Another is to use the callback mechanism to write the data to your own >buffer. See the XalanTransformerCallback sample for more information. I tried to use TransformerCallback to do preallocating on my own. Unfortunatly I use XercesDOMWrappedSource as document input and both XalanCompiledStylesheet and XSLTInputSource(istrstream) as stylesheet input. There is only one "transform" method for XalanTransformer with XalanParsedSource as document input, compiled stylesheet, and callback handler. Should I compile the istrstream-stylesheet everytime? Or is there a way to pass XalanParsedInputSource as a simple XSLTInputSource to use another method? HolgeR -- holger floerke d o c t r o n i c email [EMAIL PROTECTED] information publishing + retrieval phone +49 2222 9292 90 http://www.doctronic.de
