On Thursday, 04/24/2003 at 03:50 CET, "Andrew Welch" <[EMAIL PROTECTED]> wrote: > Sorry to be real dumb here, but can you spell it out for me? In my head I > think I need to have an XMLReader() (or its content handler?) as the source of > the transform
That's your point of confusion. >From what you've told us, this isn't a "tranform" or "parse", just "generate". Hence you don't need an XMLReader. All you need is to have someone pass you a Content Handler. You can then call the event methods directly on that content handler, in the appropriate sequence corresponding to your "fictional document" -- ch.startDocument(), ch.startElement(), etc. If you want to make it formal, your own code can implement the XMLReader() API... but depending on what you're doing, that may be overkill.
