{"id":24164619,"url":"https://github.com/whothefluff/abap-xml-renderer","last_synced_at":"2026-06-07T02:31:43.191Z","repository":{"id":272165191,"uuid":"915452321","full_name":"whothefluff/abap-xml-renderer","owner":"whothefluff","description":"ABAP to XML","archived":false,"fork":false,"pushed_at":"2025-01-12T15:56:46.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T16:37:06.428Z","etag":null,"topics":["abap","xml","xml-renderer"],"latest_commit_sha":null,"homepage":"","language":"ABAP","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/whothefluff.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-11T21:58:58.000Z","updated_at":"2025-01-12T15:56:49.000Z","dependencies_parsed_at":"2025-01-12T16:48:47.467Z","dependency_job_id":null,"html_url":"https://github.com/whothefluff/abap-xml-renderer","commit_stats":null,"previous_names":["whothefluff/abap-xml-renderer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whothefluff%2Fabap-xml-renderer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whothefluff%2Fabap-xml-renderer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whothefluff%2Fabap-xml-renderer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whothefluff%2Fabap-xml-renderer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whothefluff","download_url":"https://codeload.github.com/whothefluff/abap-xml-renderer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241470364,"owners_count":19968041,"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":["abap","xml","xml-renderer"],"created_at":"2025-01-12T19:18:03.939Z","updated_at":"2025-03-02T06:45:27.362Z","avatar_url":"https://github.com/whothefluff.png","language":"ABAP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# abap-xml-renderer\r\n\r\nABAP variables to XML format\r\n\r\n## Use\r\n\r\n- Create an instance of the simple renderer (**optionally** passing static mappings for the names of the tags),\r\nwhich implements _ZIF_XML_RENDERER_ and handles internal tables, structures, and elemental variables[^1]:\r\n   ```abap\r\n   final(xml_renderer) = new zcl_simple_xml_renderer( ).\r\n   ```\r\n[^1]: You can also implement interface _ZIF_XML_RENDERER_ yourself to create the XML file however you prefer \r\n- Call the process method with an XML Writer and a variable as arguments:\r\n   ```abap\r\n   final(writer) = cl_sxml_string_writer=\u003ecreate( ).\r\n\r\n   xml_renderer-\u003eprocess( i_writer = cast #( writer )\r\n                          i_data = VAR ).\r\n   ```\r\n- Use the writer as usual:\r\n   ```abap\r\n   final(encoded_xml) = writer-\u003eget_output( ).\r\n   ```\r\n\r\n### Example\r\n\r\nYou can run class _ZCL_XML_SIMPLE_RENDERER_EG_APP_ to see how a short XML file can be generated.\r\n\r\n\r\n# dependencies:\r\n  - https://github.com/whothefluff/abap-exceptions\r\n  - https://github.com/whothefluff/abap-messages\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhothefluff%2Fabap-xml-renderer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhothefluff%2Fabap-xml-renderer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhothefluff%2Fabap-xml-renderer/lists"}