Skip to content

Commit c8a7b03

Browse files
committed
Merge branch 'main' into dev
2 parents 088674f + 7695a5c commit c8a7b03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "XML"
22
uuid = "72c71f33-b9b6-44de-8c94-c961784809e2"
33
authors = ["Josh Day <[email protected]> and contributors"]
4-
version = "0.1.3"
4+
version = "0.2.0"
55

66
[deps]
77
Mmap = "a63ad114-7e13-5084-954f-fe012c677804"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ Declaration(; attributes...)
7777
Document(children...)
7878
DTD(; attributes...)
7979
Element(tag, children...; attributes...)
80-
ProcessingInstruction(; attributes...)
80+
ProcessingInstruction(tag; attributes...)
8181
Text(value)
8282
```
8383

8484
### `XML.LazyNode`
8585

8686
A lazy data structure that just keeps track of the position in the raw data (`Vector{UInt8}`) to read from.
8787

88-
- Iteration in depth first search (DFS) order. This is the natural order in which you would visit XML nodes by reading an XML document from top to bottom.
88+
- You can iterate over a `LazyNode` to "read" through an XML file:
8989

9090
```julia
9191
doc = read(filename, LazyNode)

0 commit comments

Comments
 (0)