H
Hapa
Hello all,
we are using msxml.dll (version 1) and Visual C++6.0.
There is a way to automatically write the processing instruction prior
saving the XMLDOMDocument.
VARIANT NodeType;
NodeType.vt = VT_I4; V_I4(&NodeType) = MSXML::NODE_PROCESSING_INSTRUCTION;
CComBSTR PITarget = ("xml");
XMLDOMNodePtr pProcInstr;
m_pXMLDocumentNode->createNode(NodeType, PITarget, NULL, &pProcInstr)
m_pXMLDocumentNode->appendChild( pProcInstr, NULL
Question: Why our processing instruction always has the UTF8 missing.
and looking like this. <?xml version="1.0" ?> instead of <?xml
version="1.0" encoding="UTF-8" ?>
This is related to _UNICODE or _MBCS?
Thanks.
hapa
we are using msxml.dll (version 1) and Visual C++6.0.
There is a way to automatically write the processing instruction prior
saving the XMLDOMDocument.
VARIANT NodeType;
NodeType.vt = VT_I4; V_I4(&NodeType) = MSXML::NODE_PROCESSING_INSTRUCTION;
CComBSTR PITarget = ("xml");
XMLDOMNodePtr pProcInstr;
m_pXMLDocumentNode->createNode(NodeType, PITarget, NULL, &pProcInstr)
m_pXMLDocumentNode->appendChild( pProcInstr, NULL
Question: Why our processing instruction always has the UTF8 missing.
and looking like this. <?xml version="1.0" ?> instead of <?xml
version="1.0" encoding="UTF-8" ?>
This is related to _UNICODE or _MBCS?
Thanks.
hapa