XML 中大于符号的使用 [英] Use of Greater Than Symbol in XML

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

问题描述

我用 xml version="1.0" 创建了 xml 文档.

I had created the xml document with xml version="1.0".

在该文档中,我需要使用大于符号 > 和小于符号 <.

In that document I need to use the greater than symbol > and less than symbol <.

我应该如何包含这些符号?它不工作.

How should I include those symbols? It's not working.

&gt;&lt; 对我不起作用.

&gt; and &lt; are not working for me.

有没有专门的编码器?

推荐答案

你需要 字符实体引用

<代码><= &lt;

<代码>>= &gt;

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

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