cocoon-users mailing list archives

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

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.

Regards
Stephan


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message