Skip to content

Commit

Permalink
some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Oct 10, 2024
1 parent bf5f9b6 commit 58f1b5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/raw.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ Create an iterator over raw chunks of data in an XML file. Each chunk of data r
- RawComment # <!-- ... -->
- RawCData # <![CData[...]]>
- RawDeclaration # <?xml attributes... ?>
- RawProcessingInstruction # <?NAME attributes... ?>
- RawProcessingInstruction # <?NAME attributes... ?>
- RawDTD # <!DOCTYPE ...>
- RawElementOpen # <NAME attributes... >
- RawElementClose # </NAME>
- RawElementSelfClosed # <NAME attributes... />
- RawElementOpen # <NAME attributes... >
- RawElementClose # </NAME>
- RawElementSelfClosed # <NAME attributes... />
Useful functions:
Expand Down Expand Up @@ -144,7 +144,7 @@ nodetype(o::Raw) = nodetype(o.type)
"""
tag(node) --> String or Nothing
Return the tag name of `Element` and `PROCESESSING_INSTRUCTION` nodes.
Return the tag name of `Element` and `PROCESSING_INSTRUCTION` nodes.
"""
function tag(o::Raw)
o.type [RawElementOpen, RawElementClose, RawElementSelfClosed, RawProcessingInstruction] && return nothing
Expand Down

0 comments on commit 58f1b5a

Please sign in to comment.