This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Works so far, most of my queries work now. I've figured out that I can use the ContentConsumer to convert the resulting KDocuments into DOM Documents via SAX.try: import gnu.xml.*; import gnu.kawa.xml.*;
NodeTree tree = new NodeTree(); XMLFilter filter = new XMLFilter(tree);
Then stream SAX events to filter - XMLFilter implements both DocumentHandler and ContentHandler.
Then: return KNode.make(tree);
I haven't actually tested this, so you might expose some bugs!
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |