-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
Help wantedIf you want to assist development of Nori, this is a task which could be for you.If you want to assist development of Nori, this is a task which could be for you.
Description
XML:
<wd:Position_Data wd:Effective_Date="2022-02-01">
<wd:Position_ID>12345</wd:Position_ID>
</wd:Position_Data>
Ruby:
content = File.read('response.xml')
nori = Nori.new(strip_namespaces: true)
hash = nori.parse(content)
puts hash.inspect
Expected:
{"Position_Data"=>{"Position_ID"=>"12345", "@Effective_Date"=>"2022-02-01"}}
Actual:
{"Position_Data"=>{"Position_ID"=>"12345", "@wd:Effective_Date"=>"2022-02-01"}}
Metadata
Metadata
Assignees
Labels
Help wantedIf you want to assist development of Nori, this is a task which could be for you.If you want to assist development of Nori, this is a task which could be for you.