{"id":16032728,"url":"https://github.com/threez/simple-xml","last_synced_at":"2025-06-26T16:33:02.012Z","repository":{"id":1892521,"uuid":"2818659","full_name":"threez/simple-xml","owner":"threez","description":"Some helpers for REXML::Element to create hashes from xml easily","archived":false,"fork":false,"pushed_at":"2011-11-21T09:29:56.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T12:44:46.828Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/threez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-11-21T09:04:30.000Z","updated_at":"2013-12-28T04:36:58.000Z","dependencies_parsed_at":"2022-08-21T00:50:17.274Z","dependency_job_id":null,"html_url":"https://github.com/threez/simple-xml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/threez/simple-xml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threez%2Fsimple-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threez%2Fsimple-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threez%2Fsimple-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threez%2Fsimple-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threez","download_url":"https://codeload.github.com/threez/simple-xml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threez%2Fsimple-xml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262102243,"owners_count":23259221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T21:40:26.561Z","updated_at":"2025-06-26T16:33:01.939Z","avatar_url":"https://github.com/threez.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleXML\n\nA simple add on to rexml to parse xml data simply by converting them to a hash.\nThat hash can than easily be passed to model objects to validate etc.\n\nExample usage:\n\n```ruby\ndoc = REXML::Document.new(%Q{\n     \u003c?xml version=\"1.0\"?\u003e\n     \u003caddress\u003e\n       \u003ccountry iso_code=\"de\" nationality=\"deutsch\"\u003eDeutschland\u003c/country\u003e\n       \u003czip_code\u003e76135\u003c/zip_code\u003e\n       \u003ccity\u003eKarlsruhe\u003c/city\u003e\n       \u003cstreet\u003e\n         \u003cname_and_number\u003eErnst-Frey-Str. 10\u003c/name_and_number\u003e\n       \u003c/street\u003e\n     \u003c/address\u003e\n   }\ndoc.simplify(\"/address\") #=\u003e { :country =\u003e \"Deutschland\", :zip_code =\u003e \"76135\", :city =\u003e \"Karlsruhe\", :street =\u003e { :name_and_number =\u003e \"Ernst-Frey-Str. 10\" } }\ndoc.simplify_attributes(\"/address/country\") #=\u003e { :iso_code =\u003e \"de\", :nationality =\u003e \"deutsch\" }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreez%2Fsimple-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreez%2Fsimple-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreez%2Fsimple-xml/lists"}