XML中的转义双引号字符 [英] Escape double quote character in XML

查看:1181
本文介绍了XML中的转义双引号字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在xml中是否有用于双引号的转义符?我想写一个像这样的标签:

Is there an escape character for a double quote in xml? I want to write a tag like:

<parameter name="Quote = " ">

但是,如果我输入,则表示字符串已结束。我需要这样的东西(c ++):

but if I put ", then that means string has ended. I need something like this (c++):

printf("Quote = \" ");

在双引号之前是否存在要转义的字符?

Is there a character to write before the double quote to escape it?

推荐答案

尝试一下:

&quot;

这篇关于XML中的转义双引号字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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