add new chinese translations
This commit is contained in:
16
pages.zh/common/xml-escape.md
Normal file
16
pages.zh/common/xml-escape.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# XML 转义
|
||||
|
||||
> 转义特殊的 XML 字符,例如 `<a1>` → `<a1>`。
|
||||
> 更多信息:<https://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>。
|
||||
|
||||
- 转义字符串中的特殊 XML 字符:
|
||||
|
||||
`xml escape "{{<a1>}}"`
|
||||
|
||||
- 从 `stdin` 转义特殊 XML 字符:
|
||||
|
||||
`echo "{{<a1>}}" | xml escape`
|
||||
|
||||
- 显示帮助:
|
||||
|
||||
`xml escape --help`
|
Reference in New Issue
Block a user