You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Awasthi, Anand" <An...@bmc.com> on 2001/03/29 23:24:02 UTC

multhreaded C++ applications using Xerces C++ parser.

Hi,
 
I am studying the multhreaded parsing applications using Xerces C++ parser.
Does some one have few exampls or know about information on ineternet links
where i can find out exampels of multhreaded parsing applications ??
 
 
thanks  

-----Original Message-----
From: Dean Roddey [mailto:droddey@charmedquark.com]
Sent: Wednesday, March 28, 2001 4:15 PM
To: xerces-c-dev@xml.apache.org
Subject: Re: presistence of parsed XM LData ( DOM Tree) ??


No. You generally do not want to do that. The whole point of XML is that its
platform independent and portable. So the DOM does not support binary
streaming of a DOM structure, since it would be counter to what XML is
designed for to begin with. If you want to do that, you'll have to come up
with some binary structure of your own, and the code to stream it out and
resurrect it again and re-build the DOM tree.
 
--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com <ma...@charmedquark.com> 
http://www.charmedquark.com <http://www.charmedquark.com> 
 
"I'm not sure how I feel about ambivalence"
 
 

----- Original Message ----- 
From: Awasthi,  <ma...@bmc.com> Anand 
To: 'xerces-c-dev@xml.apache.org' <mailto:'xerces-c-dev@xml.apache.org'>  
Sent: Wednesday, March 28, 2001 1:57 PM
Subject: RE: presistence of parsed XM LData ( DOM Tree) ??

but can I later on open saved file and use DOM tree information from file on
the fly w/o doing any further  processing ?? 

-----Original Message-----
From: Dean Roddey [ mailto:droddey@charmedquark.com
<ma...@charmedquark.com> ]
Sent: Wednesday, March 28, 2001 3:43 PM
To: xerces-c-dev@xml.apache.org <ma...@xml.apache.org> 
Subject: Re: presistence of parsed XM LData ( DOM Tree) ??


Rip off the code in DOMPrint, change the output target to be a disk based
file instead of the standard output.
 
--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com <ma...@charmedquark.com> 
http://www.charmedquark.com <http://www.charmedquark.com> 
 
"I'm not sure how I feel about ambivalence"
 
 

----- Original Message ----- 
From: Awasthi, Anand <ma...@bmc.com>  
To: 'xerces-c-dev@xml.apache.org' <mailto:'xerces-c-dev@xml.apache.org'>  
Sent: Wednesday, March 28, 2001 1:38 PM
Subject: presistence of parsed XM LData ( DOM Tree) ??

 

hi,

How can we persist the Parsed Data/DOM tree obtained after parsing XML
file??