File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -116,4 +116,4 @@ function Base.string(xdoc::XMLDocument; encoding::String="utf-8")
116
116
_xcopystr (buf_out[1 ])
117
117
end
118
118
119
- Base. show (io:: IO , xdoc:: XMLDocument ) = println (io, Base . string (xdoc))
119
+ Base. show (io:: IO , xdoc:: XMLDocument ) = println (io, string (xdoc))
Original file line number Diff line number Diff line change @@ -176,9 +176,7 @@ function Base.string(nd::XMLNode)
176
176
return r
177
177
end
178
178
179
- function Base. show (io:: IO , nd:: XMLNode )
180
- println (io, Base. string (nd))
181
- end
179
+ Base. show (io:: IO , nd:: XMLNode ) = println (io, string (nd))
182
180
183
181
184
182
# ######################################
@@ -206,8 +204,8 @@ has_children(x::XMLElement) = has_children(x.node)
206
204
child_nodes (x:: XMLElement ) = child_nodes (x. node)
207
205
content (x:: XMLElement ) = content (x. node)
208
206
209
- Base. string (x:: XMLElement ) = Base . string (x. node)
210
- Base. show (io:: IO , x:: XMLElement ) = Base . show (x. node)
207
+ Base. string (x:: XMLElement ) = string (x. node)
208
+ Base. show (io:: IO , x:: XMLElement ) = show (io, x. node)
211
209
212
210
# attribute access
213
211
You can’t perform that action at this time.
0 commit comments