cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Niedermeier" <>
Subject toSAX - Method for String
Date Fri, 18 Apr 2003 11:27:52 GMT

I have written my first own generator;-) In the next step, I want to convert
a given XML-String to SAX-Events without calling the methods startElement,
endElement, aso.

For example: Im generating a string like

String xml = "<root>Any Text</root>";

Now, im searching for a method, which converts this string automatically to
SAX-Events, like foo.toSAX(xml);

I've seen a method like this for a inputSource (File) but not for a string.

Have anyone an idea how to realize this?

Thank you.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message