jjzjj

createProcessingInstruction

全部标签

xml - 为什么 MSXML 中的 createProcessingInstruction 会生成不完整的输出?

以下VBA代码生成作为输出。DimXMLAsNewDomDocumentDimpiAsIXMLDOMProcessingInstruction'....somecodethatsetstherootelementofthedocumentSetpi=XML.createProcessingInstruction("xml","version='1.0'encoding='UTF-8'")XML.insertBeforepi,XML.documentElement为什么是encoding="UTF-8"被遗漏了? 最佳答案 不是处理指