MSXML6支持哪些特殊字符? [英] What special character MSXML6 support?

查看:87
本文介绍了MSXML6支持哪些特殊字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用了createTextNode()函数来创建具有特殊字符的XML节点(#x1B - Escape),但它是错误的。

I have used createTextNode() function to create XML node with special character (#x1B - Escape), but it's error.

我不知道那个字符#x1B是否支持MSXML6?

I don't know that character #x1B is support in MSXML6 or not?

请帮助我!

我的代码在这里:

MSXML6 :: IXMLDOMDocumentPtr pDoc;

MSXML6::IXMLDOMDocumentPtr pDoc;

....

pDoc-> createTextNode(wstrText );

pDoc->createTextNode(wstrText);

推荐答案

XML允许"控制字符"。 CR,LF和Tab,但不是像ESC这样的其他人,所以MSXML是正确的,如果它阻止你在XML中插入这样的字符。
XML allows the "control characters" CR, LF and Tab but not others like ESC, so that way MSXML is right if it prevents you from inserting such characters in XML.


这篇关于MSXML6支持哪些特殊字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆