私の問題は単純です。私は XercesDOMParser を持っているので、そこに格納されている DOMDocument に getDocument() を介してアクセスできます。
ツリーを表す xml 文字列を取得したい。
正しい呼び方は?ライブラリによって有効な演算子/関数が提供されていると仮定します。
Xerces-C を使用してからしばらく経ちますが、 http: //xerces.apache.org/xerces-c/apiDocs-2/classDOMWriter.html を見てみます)。
私は最初に見ます
virtual XMLCh * writeToString (const DOMNode &nodeToWrite)=0
Serialize the specified node as described above in the description of DOMWriter.