xml - java: SAX writer for use in XMLFilter pipeline? -
i'm using xmlfilter pipeline sax events xmlreader, , put xmlfilter stage in pipeline dump result file, kind of "tee" program in unix.
(the xmlreader happens nu.validator.htmlparser.sax.htmlparser, there isn't source xml file, , care xml output of htmlparser rather original html file)
first figured there must standard class this, couldn't find it.
then figured write own subclass of xmlfilterimpl, i've wasted hour on far, , it's difficult escaping.
is there straightforward way dump sax events xml file?
here's one: http://www.java2s.com/code/java/xml/filtertowriteanxmldocumentfromasaxeventstream.htm .
you'd prefer packaged - sorry, can't put hands on 1 immediately.
Comments
Post a Comment