Skip to content

Commit f608bc5

Browse files
committed
readme
1 parent b349fa1 commit f608bc5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ This package offers fast data structures for reading and writing XML files with
1313
### `Node`/`LazyNode` Interface:
1414

1515
```
16-
nodetype(node) → XML.NodeType (an enum type):
16+
nodetype(node) → XML.NodeType (an enum type)
1717
tag(node) → String or Nothing
18-
attributes(node) → Dict{String,String} or Nothing
18+
attributes(node) → Dict{String, String} or Nothing
1919
value(node) → String or Nothing
2020
children(node) → Vector{typeof(node)}
2121
is_simple(node) → Bool (whether node is simple .e.g. <tag>item</tag>)
@@ -203,6 +203,6 @@ Platform Info:
203203

204204
# Possible Gotchas
205205

206-
- XML.jl doesn't automatically escape special characters (`<`, `>`, `&`, `"`, and `'` ) for you.
207-
- Use the `XML.escape(::String)` and `XML.unescape(::String)` utility functions to convert strings back and forth.
208-
- You can also use `XML.escape!(::Node)` which will escape the strings of all child `Text` nodes.
206+
- XML.jl doesn't automatically escape special characters (`<`, `>`, `&`, `"`, and `'` ) for you. However, we provide utility functions for doing the conversions back and forth:
207+
- `XML.escape(::String)` and `XML.unescape(::String)`
208+
- `XML.escape!(::Node)` and `XML.unescape!(::Node)`.

0 commit comments

Comments
 (0)