Skip to content

Commit a12838d

Browse files
committed
readme
1 parent 7a5f85c commit a12838d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ This package offers fast data structures for reading and writing XML files with
1212

1313
### `Node`/`LazyNode` Interface:
1414

15-
- `nodetype(node) → XML.NodeType` (an enum type):
16-
- `tag(node) → String or Nothing`
17-
- `attributes(node) → Dict{String,String} or Nothing`
18-
- `value(node) → String or Nothing`
19-
- `children(node) → Vector{typeof(node)}`
20-
- `is_simple(node) → Bool (whether node is simple .e.g. <tag>item</tag>)`
21-
- ```simplevalue(node) → Return the `value` of the only child (e.g. "item" from <tag>item</tag>)```
15+
```
16+
nodetype(node) → `XML.NodeType` (an enum type):
17+
tag(node) → `String` or `Nothing`
18+
attributes(node) → `Dict{String,String}` or `Nothing`
19+
value(node) → `String` or `Nothing`
20+
children(node) → `Vector{typeof(node)}`
21+
is_simple(node) → `Bool` (whether node is simple .e.g. `<tag>item</tag>`)
22+
simplevalue(node) → e.g. `"item"` from `<tag>item</tag>`)
23+
```
2224

2325
<br>
2426

0 commit comments

Comments
 (0)