RE: finding given node in copy of DOM_Document

2001-04-11 Thread Bovone Stefano
Hello everybody. I'm using Xerces on AIX and Visual Age 4.0; but I have problems compiling a program that uses STL library. The compiler gives errors during the compiling phase. Is this a known problem, or a my Visual Age problem ? Using Visual Age, Xerces and STL do I have to set features diffe

Re: finding given node in copy of DOM_Document

2001-04-11 Thread Joseph_Kesselman
>I have a Dom_Document and I have a node. I create a new document with >the copy constructor. >From a purist's point of view, you should instead be using the DOM's cloneNode operation on the document, which will port more easily to other DOM implementations. >Is there any easy way to find the s

Re: finding given node in copy of DOM_Document

2001-04-11 Thread David_N_Bertoni
I'm not sure I understand your question. There is no "copy" constructor for the document, just the smart pointer to the document. For example: void foo( DOM_DocumenttheDoc, DOM_Node theChildNode) { /* * theLocalDoc and theDoc are smart pointers to the s