Files
freeCodeCamp/curriculum/challenges/chinese/07-scientific-computing-with-python/python-for-everybody/web-services-xml.md

48 lines
571 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5e7b9f0e0b6c005b0e76f07b
title: 'Web 服务XML'
challengeType: 11
videoId: _pZ0srbg7So
bilibiliIds:
aid: 761920032
bvid: BV1n64y1x7KW
cid: 377332379
dashedName: web-services-xml
---
# --question--
## --text--
以下 XML 有什么问题?
```xml
<person>
<name>Chuck</name>
<phone type="intl">
+1 734 303 4456
<email hide="yes" />
</person>
```
## --answers--
Email 标签缺少结束标签。
---
间距将导致 XML 无效。
---
Phone 标签缺少结束标签。
---
纯文本应使用 UTF-8 编码。
## --video-solution--
3