diff --git a/src/raw.jl b/src/raw.jl index 02c89fc..824ea27 100644 --- a/src/raw.jl +++ b/src/raw.jl @@ -39,11 +39,11 @@ Create an iterator over raw chunks of data in an XML file. Each chunk of data r - RawComment # - RawCData # - RawDeclaration # - - RawProcessingInstruction # + - RawProcessingInstruction # - RawDTD # - - RawElementOpen # - - RawElementClose # - - RawElementSelfClosed # + - RawElementOpen # + - RawElementClose # + - RawElementSelfClosed # Useful functions: @@ -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