xml: requested arrows and back-ticks.
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
aa67236fc3
commit
a9538950db
@@ -1,6 +1,6 @@
|
|||||||
# xml escape
|
# xml escape
|
||||||
|
|
||||||
> Escape special XML characters, e.g. `<a1>` -> `<a1>`.
|
> Escape special XML characters, e.g. `<a1>` → `<a1>`.
|
||||||
> More information: <http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>.
|
> More information: <http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf>.
|
||||||
|
|
||||||
- Escape special XML characters in a string:
|
- Escape special XML characters in a string:
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
`xml format --recover --noindent {{path/to/malformed.xml|URI}} > {{path/to/recovered.xml}}`
|
`xml format --recover --noindent {{path/to/malformed.xml|URI}} > {{path/to/recovered.xml}}`
|
||||||
|
|
||||||
- Format an XML document from stdin, removing the DOCTYPE declaration:
|
- Format an XML document from stdin, removing the `DOCTYPE` declaration:
|
||||||
|
|
||||||
`cat {{path\to\input.xml}} | xml format --dropdtd > {{path/to/output.xml}}`
|
`cat {{path\to\input.xml}} | xml format --dropdtd > {{path/to/output.xml}}`
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# xml unescape
|
# xml unescape
|
||||||
|
|
||||||
> Unescape special XML characters, e.g. `<a1>` -> `<a1>`.
|
> Unescape special XML characters, e.g. `<a1>` → `<a1>`.
|
||||||
> More information: <http://xmlstar.sourceforge.net/docs.php>.
|
> More information: <http://xmlstar.sourceforge.net/docs.php>.
|
||||||
|
|
||||||
- Unescape special XML characters from a string:
|
- Unescape special XML characters from a string:
|
||||||
|
Reference in New Issue
Block a user