开发者

Best way XML File handling bullet point •

For an XML file I am creating I have data that contains a bullet • what is the best method for handling this in x开发者_运维百科ml data? It opens in an XML editor and reads fine, but I cannot import the file via SSIS, I get an error regarding this point.

<xmldata>• Bullet</xmldata>

Renders fine, but cannot import with SSIS.


Escape it:

&#8226;


The data you have received is not well-formed XML. It may have < and > in it, but it is not XML. The program that generated it is broken and needs to be fixed.

In particular, is the bullet the only character that will cause you problems? A program that puts one garbage character into your "XML" will likely put others in, since it doesn't seem to know what valid XML looks like.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜