{"id":19607228,"url":"https://github.com/robocorp/example-xml-robot","last_synced_at":"2026-03-19T10:46:52.374Z","repository":{"id":103903565,"uuid":"461768548","full_name":"robocorp/example-xml-robot","owner":"robocorp","description":"This example robot demonstrates how to parse, query, and modify XML using Robot Framework.","archived":false,"fork":false,"pushed_at":"2022-10-12T11:57:11.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-07-30T11:59:48.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"RobotFramework","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robocorp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-02-21T08:26:57.000Z","updated_at":"2025-01-01T09:19:16.000Z","dependencies_parsed_at":"2023-07-26T03:46:01.280Z","dependency_job_id":null,"html_url":"https://github.com/robocorp/example-xml-robot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robocorp/example-xml-robot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fexample-xml-robot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fexample-xml-robot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fexample-xml-robot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fexample-xml-robot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robocorp","download_url":"https://codeload.github.com/robocorp/example-xml-robot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Fexample-xml-robot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29313092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T17:48:59.043Z","status":"ssl_error","status_checked_at":"2026-02-10T17:45:37.240Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-11T10:09:32.937Z","updated_at":"2026-02-10T19:06:34.170Z","avatar_url":"https://github.com/robocorp.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robot Framework XML examples\n\nThis example robot demonstrates how to parse, query, and modify XML using Robot Framework.\n\nSome of the things you can do include:\n\n- Parse an XML file\n- Get elements from XML by XPath\n- Get elements from XML by element value\n- Get elements from XML by attribute value\n- Get element children from XML by XPath\n- Access XML element object attributes\n- Get attribute values from XML by XPath\n- Get named attribute value from XML by XPath\n- Save XML to a file\n- Remove elements from XML by XPath\n- Remove element attributes from XML by XPath\n- Set XML element attribute value\n- Add attribute to XML element by XPath\n- Transform XML using XSLT\n\nSee the [XML library documentation](https://robocorp.com/docs/libraries/built-in/xml) for more examples and a complete list of keywords.\n\n## The example XML file\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003crobots\u003e\n    \u003crobot id=\"MK-I\"\u003e\n        \u003cprice currency=\"USD\"\u003e1000\u003c/price\u003e\n        \u003cnick-name\u003eSpider\u003c/nick-name\u003e\n        \u003ccomponents\u003e\n            \u003clegs\u003e8\u003c/legs\u003e\n            \u003ceyes\u003e20\u003c/eyes\u003e\n        \u003c/components\u003e\n        \u003ccustomization-options\u003e\n            \u003ccolors\u003e\n                \u003ccolor\u003egold\u003c/color\u003e\n                \u003ccolor\u003esilver\u003c/color\u003e\n                \u003ccolor\u003ebronze\u003c/color\u003e\n            \u003c/colors\u003e\n            \u003cpower-sources\u003e\n                \u003cpower-source type=\"solar\"/\u003e\n                \u003cpower-source type=\"lithium-ion-battery\"/\u003e\n                \u003cpower type=\"coal\"/\u003e\n            \u003c/power-sources\u003e\n        \u003c/customization-options\u003e\n        \u003cdimensions\u003e\n            \u003cdimension type=\"weight\" unit=\"kg\" value=\"160\"/\u003e\n            \u003cdimension type=\"height\" unit=\"cm\" value=\"240\"/\u003e\n            \u003cdimension type=\"width\" unit=\"cm\" value=\"300\"/\u003e\n            \u003cdimension type=\"length\" unit=\"cm\" value=\"150\"/\u003e\n        \u003c/dimensions\u003e\n    \u003c/robot\u003e\n    \u003crobot id=\"MK-II\"\u003e\n        \u003cprice currency=\"USD\"\u003e2000\u003c/price\u003e\n        \u003cnick-name\u003eQuad Arms\u003c/nick-name\u003e\n        \u003ccomponents\u003e\n            \u003carms\u003e4\u003c/arms\u003e\n            \u003clegs\u003e2\u003c/legs\u003e\n        \u003c/components\u003e\n        \u003ccustomization-options\u003e\n            \u003ccolors\u003e\n                \u003ccolor\u003ebronze\u003c/color\u003e\n            \u003c/colors\u003e\n            \u003cpower-sources\u003e\n                \u003cpower-source type=\"hamster\"/\u003e\n                \u003cpower type=\"steam\"/\u003e\n            \u003c/power-sources\u003e\n        \u003c/customization-options\u003e\n        \u003cdimensions\u003e\n            \u003cdimension type=\"weight\" unit=\"kg\" value=\"40\"/\u003e\n            \u003cdimension type=\"height\" unit=\"cm\" value=\"100\"/\u003e\n            \u003cdimension type=\"width\" unit=\"cm\" value=\"60\"/\u003e\n            \u003cdimension type=\"length\" unit=\"cm\" value=\"70\"/\u003e\n        \u003c/dimensions\u003e\n    \u003c/robot\u003e\n    \u003crobot id=\"MK-III\"\u003e\n        \u003cprice currency=\"USD\"\u003e50000\u003c/price\u003e\n        \u003cnick-name\u003eEye Spy With Ten Little Eyes\u003c/nick-name\u003e\n        \u003ccomponents\u003e\n            \u003ceyes\u003e10\u003c/eyes\u003e\n        \u003c/components\u003e\n        \u003ccustomization-options\u003e\n            \u003ccolors\u003e\n                \u003ccolor\u003emidnight\u003c/color\u003e\n                \u003ccolor\u003eblue\u003c/color\u003e\n            \u003c/colors\u003e\n            \u003cpower-sources\u003e\n                \u003cpower-source type=\"solar\"/\u003e\n            \u003c/power-sources\u003e\n        \u003c/customization-options\u003e\n        \u003cdimensions\u003e\n            \u003cdimension type=\"weight\" unit=\"kg\" value=\"5\"/\u003e\n            \u003cdimension type=\"height\" unit=\"cm\" value=\"30\"/\u003e\n            \u003cdimension type=\"width\" unit=\"cm\" value=\"40\"/\u003e\n            \u003cdimension type=\"length\" unit=\"cm\" value=\"80\"/\u003e\n        \u003c/dimensions\u003e\n    \u003c/robot\u003e\n\u003c/robots\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocorp%2Fexample-xml-robot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobocorp%2Fexample-xml-robot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocorp%2Fexample-xml-robot/lists"}