RE: SAX to DOM

2002-02-26 Thread Paul Brown
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: SAX to DOM > That's a great suggestion Paul, but my input is not a stream. My input is > SAXResult, which I get as a result of transformation. > I know I can just use DOMResult

RE: SAX to DOM

2002-02-26 Thread Vlad . Epshtein
saxHandler.getDomDocument(); Please respond to xerces-j-user <[EMAIL PROTECTED]>; Please respond to prb <[EMAIL PROTECTED]> To: xerces-j-user <[EMAIL PROTECTED]> cc: Subject:RE: SAX to DOM > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL P

Re: SAX to DOM

2002-02-26 Thread Vlad . Epshtein
respond to xerces-j-user <[EMAIL PROTECTED]> To: xerces-j-user <[EMAIL PROTECTED]> cc: Subject: Re: SAX to DOM Or (and perhaps this is what was meant) is there any way to attach SAX handlers to a dom parser, and get the events as the DOM is built?

RE: SAX to DOM

2002-02-26 Thread Paul Brown
ource(xr, is); DOMResult dr = new DOMResult(); TransformerFactory.newInstance().newTransformer().transform(ss,dr); Document doc = (Document) dr.getNode(); This way, you're not stuck with a non-standard SAX-to-DOM implementation. (Hopefully, the XSLT processor handles namespaces, etc. properly.)

Re: SAX to DOM

2002-02-26 Thread Eric_Schwarzenbach
: 02/26/2002 01:25 Subject: SAX to DOM PM

SAX to DOM

2002-02-26 Thread Vlad . Epshtein
Hi all, Is there a way in Xerces to build DOM from SAX? (org.xml.sax.ContentHandler) - vlad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: sax to dom to sax

2001-12-06 Thread Paul Brown
> [rpcee at operamail.com] > Subject: sax to dom to sax > How can I create a org.w3c.Document from a SAX producer, then > generate SAX events from (traversing) that Document? Is that what you really want to do, or do you want to simply have two consumers of the SAX events, on

Re: sax to dom to sax

2001-12-06 Thread Larry Kline
I'm not sure if this is exactly what you want to do but I did something similar by doing this: I wrote my own DocumentHandler that handled all of the SAX events I was interested in and configured my SAXParser to use this handler. In the document handler methods I just used an XMLSerializer to sen

sax to dom to sax

2001-11-28 Thread rpcee
How can I create a org.w3c.Document from a SAX producer, then generate SAX events from (traversing) that Document. Does xerces support that directly or do I use xalan/TrAX identity transform along the lines of transform(SAXSource, DOMResult) then transform(DOMSource, SAXResult)? Thanks, Rich

Re: SAX to DOM

2001-06-21 Thread Dane Foster
Research) To: '[EMAIL PROTECTED]' Sent: Wednesday, June 20, 2001 1:35 PM Subject: SAX to DOM I have to process very large XML files.  I was hoping to use SAX to run through the file, and build and discard many small DOM trees as necessary.  Does anyone know of any

SAX to DOM

2001-06-20 Thread Michael Weir (Transform Research)
I have to process very large XML files.  I was hoping to use SAX to run through the file, and build and discard many small DOM trees as necessary.  Does anyone know of any code that does this?   Thanks.