I am definitely needing to write wrapper classes.  What does honor the DOM
API's mean?  I kind of think this implies I don't necessarily just need to
brute force a string out of the wrapper tree, but I'm exactly sure yet...

Thanks for all the help!
Matt Hanson!

 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, January 03, 2002 2:59 PM
To:     [EMAIL PROTECTED]
Cc:     [EMAIL PROTECTED]
Subject:        Re: Parsing a non-stream input


>I need to parse an XML doc that is not a stream (file, buffer, etc.).
>Technically, it is not yet an XML doc at all, but a wrapper class
>representing an XML hierarchy.

Either convert it to an XML-syntax stream or buffer and parse that, or
directly implement your own set of wrapper classes that honor the DOM APIs.

> I don't think I am supposed to build a DOM
> tree, as no parse(...) method takes a DOM_Node as input.

Because if you already have a DOM, you don't need to parse.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to