Skip to content

Commit ccf10ab

Browse files
committed
readme
1 parent 42d8248 commit ccf10ab

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@ 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):
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>`)
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>`)
2323
```
2424

2525
<br>
2626

2727
### Extended Interface for `LazyNode`
2828

2929
```
30-
depth(node) → Int
31-
next(node) → typeof(node)
32-
prev(node) → typeof(node)
33-
parent(node) → typeof(node)
30+
depth(node) → Int
31+
next(node) → typeof(node)
32+
prev(node) → typeof(node)
33+
parent(node) → typeof(node)
3434
```
3535

3636
<br><br>

0 commit comments

Comments
 (0)