JuliaIO / EzXML.jl

XML/HTML handling tools for primates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implementation of get(node, name, default) function?

BenjaminGalliot opened this issue · comments

Hello,

I would like to know if a get(node, name, default) function could be nice (as well as get!), as it exists already for many objects, like Dict.

Currently, it seems we have to combine haskey(node, name) and node[name], except if I missed a similar function?

Sincerely.