Hi Rick,
Thanks, I didn't know that. I guess I don't quite have my head around streams either ...
~~Bonnie
>Actually you can use StringWriter (and XMLWriter etc) for anything that uses a stream. Anything that ends in Reader and Writer generally uses streams in .Net and can be used to accept or receive stream in/output
>
>I still have a hard time with streams in concept - it's such a stretch sometimes - I still think more in terms of strings. But in many ways streams are way more flexible precisely because of the many different output options using the stream interfaces...
>
>+++ Rick ---
>
>>Cathi,
>>
>>Well, no wonder I couldn't figure it out ... the docs for WriteXML mention absolutely nothing about being able to output a string via StringWriter. And Intellisense for WriteXML doesn't have it listed in the overloads either. Of course, I never actually tried it (until just now). I figured if it wasn't in Intellisense then that parameter type didn't exist. Silly me!! <g>
>>
>>~~Bonnie