XML parsers aren't generally designed to extract sub-documents as such. You
can achieve this result by running a single parse on the complete document
and routing the output in appropriate directions -- eg, by having the
parser feed a SAX processor which fans out the input to other SAX
processors, or by building a single DOM and then calling routines that
process specific subtrees.
______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]