PROTECTED]
Subject: RE: Parsing a non-stream input
Rather than have developers learn the string translation syntax of the
various Xerces (and Xalan, for that matter) string classes, I have been
asked to write a wrapper class using more familiar string and attribute list
classes (i.e., std::string
ssage-
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,
o: [EMAIL PROTECTED]
Subject: Re: Parsing a non-stream input
Parsing, by definition, takes a stream of markup and parses it. Since you
have an XML hierarchy which is not a stream of markup, there is no need to
parse it.
Perhaps if you explain the problem you are trying to solve and the
>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
Parsing, by definition, takes a stream of markup and parses it. Since you
have an XML hierarchy which is not a stream of markup, there is no need to
parse it.
Perhaps if you explain the problem you are trying to solve and the
structure of your data, someone can help you out.
Dave