ホーム » SVG » XML の書出しテスト – 2

2012年1月
1234567
891011121314
15161718192021
22232425262728
293031  

カテゴリー

アーカイブ

ブログ統計情報

  • 79,632 アクセス



XML の書出しテスト – 2

loadXML の部分を改良.

// pDoc->loadXML(_T(""< ?xml version=\"1.0\" encoding=\"utf-8\"?>"< r>"< /r>")) ;
// Source: dynamDOMsmart.cpp より
 MSXML::IXMLDOMProcessingInstructionPtr pi =
  pDoc->createProcessingInstruction(L"xml", L"version='1.0'  encoding='utf-8' ");
  pDoc->appendChild(pi);
// Create a comment for the document.
 MSXML::IXMLDOMCommentPtr pc =
  pDoc->createComment(L"sample xml file created using XML DOM object.");
  pDoc->appendChild(pc);
Is this 投稿 useful? Useful Useless 0 of 0 people say this 投稿 is useful.

コメントする

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

%d人のブロガーが「いいね」をつけました。