Hello all, I am having a little issue trying to write the resutls of SAX event to a file. In the past I have done this through diffent ways, like using Xalan:
Serializer serializer = SerializerFactory .getSerializer(OutputPropertiesFactory .getDefaultMethodProperties("xml")); serializer.setWriter(out); Or including xmlwriter from http://www.generationjava.com/ with: <dependency> <groupId>xmlwriter</groupId> <artifactId>xmlwriter</artifactId> <version>2.2.2</version> </dependency> Or include a ready class form an article in my project to be able to write the events to a Stream. Many other projects write their own writer like Apache JaxMe http://ws.apache.org/jaxme/apidocs/org/apache/ws/jaxme/XMLWriter.html or include one from an exiting example in an article or a book. >From what I see, it's common requirement to serialize sax events, and write them as XML to a stream. I don't a big problem inclusing xalan-j or xmlwriter package, but wondering since this is a common requirement it should be available with JDK or one of the xml parsers (like xerces). I did a search but I was not able to find one of these writers in JAXP. May be I am doing something wrong here, or missing something obvious for others, or using these classes in a way that I am not suppose to. Any advice ? Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org