It should work. The link will bring you to http://xml.apache.org/xerces-c/memparse.html which talks about how to run the program, what's the expected output ... etc. To look into the actual program, you have to refer to the file samples/MemParse/MemParse.cpp itself.
Tinny [EMAIL PROTECTED] wrote: > Dave, > > When I click on "memparse" link I get file not found.... > > Sid > > -----Original Message----- > From: David N Bertoni/CAM/Lotus [mailto:[EMAIL PROTECTED]] > Sent: Friday, 18 January 2002 9:19 AM > To: [EMAIL PROTECTED] > Subject: RE: Parsing from a string > > It's already in the "manual": > > http://xml.apache.org/xerces-c/samples.html > > Dave > > > > [EMAIL PROTECTED] > > To: > [EMAIL PROTECTED] > 01/17/2002 03:07 cc: > > PM Subject: RE: Parsing from a > string > Please respond > > to xerces-c-dev > > > > > > You know, it's this kind of practical useful information that should be in > the Xerces Documentation manual. > > Samples of each of the parsing mechanisms... if there is a demand for this > type/kind of information (and I believe there is) then does anyone want to > collate it into a document ??? > > Is it worth while ? > Is it a waste of time ? > Would people object to me doing it ? > > Sid young > QML Pathology > Brisbane > > -----Original Message----- > From: Dario Bllb. [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 17 January 2002 6:07 PM > To: [EMAIL PROTECTED] > Subject: RE: Parsing from a string > > I parse strings in this way... > > // your string buffer > unsigned char* XML_Doc_uChar; > // here the length > unsigned int byteCount; > > // create the mem input source (In_XML is a name you can change..) > MemBufInputSource MemBufInSource(XML_Doc_uChar, > byteCount, > "In_XML"); > > // parse it... > m_parser->setValidationScheme(DOMParser::Val_Auto); > m_parser->setDoNamespaces(false); > m_parser->setErrorHandler(m_errReporter); > m_parser->setExpandEntityReferences(false); > m_parser->setToCreateXMLDeclTypeNode(true); > m_parser->parse(MemBufInSource); > > where m_parser is DOMParser* . > > I hope it can be helpful for you.... > > Dario. > > >From: "Murphy, James" <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > >Subject: RE: Parsing from a string > >Date: Wed, 16 Jan 2002 18:07:35 -0500 > > > >Look at MemBufInputSource - there is a sample. It wraps your buffer and > >reads bytes from memory. > > > >Jim > > > > > > > > > -----Original Message----- > > > From: Drew Tennenbaum [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, January 16, 2002 5:35 PM > > > To: [EMAIL PROTECTED] > > > Subject: Parsing from a string > > > > > > > > > Can I parse an XML document that is stored in a char *? If so, does > > > anyone have an example of setting up the parser to do it? Currently my > > > application parses from a document. > > > > > > Thanks, > > > Drew > > > > > > > > > ********************************************************************** > > > This email and any files transmitted with it are confidential and > > > intended solely for the use of the individual or entity to whom they > > > are addressed. If you have received this email in error please notify > > > the TenFold Postmaster ([EMAIL PROTECTED]). > > > ********************************************************************** > > > > > > --------------------------------------------------------------------- > > > 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] > > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
