Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e96fd9b

Browse files
committedApr 26, 2023
readme
1 parent 810d98e commit e96fd9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎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)
Please sign in to comment.