0

私の問題は単純です。私は XercesDOMParser を持っているので、そこに格納されている DOMDocument に getDocument() を介してアクセスできます。

ツリーを表す xml 文字列を取得したい。

正しい呼び方は?ライブラリによって有効な演算子/関数が提供されていると仮定します。

4

1 に答える 1

1

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.
于 2011-01-13T22:19:54.300 に答える