RE: XML Generation efficiency

2002-10-08 Thread Pitt, Esmond
For completeness you should also make a const version of strServiceProfile.unicodeForm() rather than calling this method each time. EJP 2) Secondly as suggested by David I created const objects and used them in my code const XStr strServiceProfile("ServiceProfile"); ... for (i=0;

RE: XML Generation efficiency

2002-10-08 Thread awakankar
Hello, As a first step I did the following 1) I moved the definitions at one place at the starting of the program. Originally I had: for (i=0; icreateElement(X("ServiceProfile")); I changed it to look something like this: DOMElement* ServProElem; ... for (i=0; icreateElement(X("Serv

RE: XML Generation efficiency

2002-10-07 Thread Bob Vaughn
Title: RE: XML Generation efficiency I have this same problem so please let me know or post your results to the list if you find a solution. -- thx, Bob Vaughn Telestream, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002

RE: XML Generation efficiency

2002-10-07 Thread SidY
Hi, If you REALLY want an efficient and fast way to create an XML document, then just use: sprintf(buffer,"",parameters)!! or fprintf(fptr,",parameters) to print to a stream. Sid -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, 7 October 2002 6

RE: XML Generation efficiency

2002-10-07 Thread David N Bertoni/Cambridge/IBM
David Schulze <[EMAIL PROTECTED]> wrote: > Where can I find these "overloads" of XMLString you speak of? In the > samples? Is that a new 2.x thing or can it be used in v1.7 ? They're in XMLString.hpp. From the CVS log, it looks like they _are_ in 1.7. Dave ---

RE: XML Generation efficiency

2002-10-07 Thread David Schulze
y, October 07, 2002 12:31 PM To: [EMAIL PROTECTED] Subject: Re: XML Generation efficiency > Hi, > My need is to generate XML on the fly and then to store it in a memory buffer. > Only restriction is that I would like extremely efficient generation of XML. I > followed the example

Re: XML Generation efficiency

2002-10-07 Thread David N Bertoni/Cambridge/IBM
> Hi, > My need is to generate XML on the fly and then to store it in a memory buffer. > Only restriction is that I would like extremely efficient generation of XML. I > followed the example CreateDOMDocument and generated a XML file. For the XML > file I need took about 20 seconds for the g