Parsing things other than a file using OSmosis

hi there,
I am currently reading xml in from a file and parsing it successfully using OSMosis.

The code given to do this all depends on this line:

RunnableSource reader = new XmlReader(file, false, compression);

Unfortunately, for what I want to do, saving XML to file is no longer an option. I have therefore use JDom to create a document object of the XML and would like to parse this.

Is there anyway to use OSMosis to parse a Document other than a file? How about a string? I am open to suggestions about any internal structure I can parse that doesn’t involve saving a file to the system.

Thanks,
Matt

What about asking this on the Osmosis developers mailinglist? Maybe there are more experts …

Has anything come out of this discussion? Have you contacted the Osmosis developers or found a different solution?