Hello everyone,

 

I’m working on a XML processing application using Xerces / Xalan. Data will pass two parsers before being transformed to HTML. I’m considering between two approaches:

 

1 – Putting two parsers in two threads and connecting them with a piped stream (PipedReader/PipedWriter).

2 – Using 2 XMLFilter objects to join the parsers.

 

I’d like to ask if any of you have experience with similar situation (I guess it’s fairly common), especially in terms of performance.

 

Thanks in advance,

Tung Tran

Reply via email to