{"id":13770554,"url":"https://github.com/pharo-contributions/XML-XMLParser","last_synced_at":"2025-05-11T03:32:49.912Z","repository":{"id":47236739,"uuid":"217532934","full_name":"pharo-contributions/XML-XMLParser","owner":"pharo-contributions","description":"XML Parser for Pharo","archived":false,"fork":false,"pushed_at":"2025-02-03T19:33:23.000Z","size":3067,"stargazers_count":12,"open_issues_count":2,"forks_count":18,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-03T18:47:30.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pharo-contributions.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":"2019-10-25T12:51:49.000Z","updated_at":"2025-02-16T14:41:42.000Z","dependencies_parsed_at":"2023-01-31T05:00:54.916Z","dependency_job_id":"c5719687-61a2-486f-9724-81f074cf0851","html_url":"https://github.com/pharo-contributions/XML-XMLParser","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-contributions%2FXML-XMLParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-contributions%2FXML-XMLParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-contributions%2FXML-XMLParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pharo-contributions%2FXML-XMLParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pharo-contributions","download_url":"https://codeload.github.com/pharo-contributions/XML-XMLParser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514352,"owners_count":21920327,"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-08-03T17:00:39.068Z","updated_at":"2025-05-11T03:32:48.246Z","avatar_url":"https://github.com/pharo-contributions.png","language":"Smalltalk","readme":"# XML-XMLParser\n\n[![Test](https://github.com/pharo-contributions/XML-XMLParser/actions/workflows/test.yml/badge.svg)](https://github.com/pharo-contributions/XML-XMLParser/actions/workflows/test.yml)\n\nXML Parser for [Pharo](http://www.pharo.org)\n\n[![Pharo 7](https://img.shields.io/badge/Pharo-7.0-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 8](https://img.shields.io/badge/Pharo-8.0-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 9](https://img.shields.io/badge/Pharo-9.0-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 10](https://img.shields.io/badge/Pharo-10-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 11](https://img.shields.io/badge/Pharo-11-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 12](https://img.shields.io/badge/Pharo-12-%23aac9ff.svg)](https://pharo.org/download)\n[![Pharo 13](https://img.shields.io/badge/Pharo-13-%23aac9ff.svg)](https://pharo.org/download)\n\n## Description\n\n`XMLParser` provides validating SAX and DOM parsers for well-formed XML documents.\nIt also provides a DOM API for manipulating documents, namespace support, and an\noptional `XMLWriter` for writing documents. Validation and namespace checking are\nenabled by default, but not resolution of external entities.\n\nImplements:\n\n- http://www.w3.org/TR/REC-xml/\n- http://www.w3.org/TR/REC-xml-names/\n- http://www.w3.org/TR/xml-id/\n- http://www.w3.org/TR/xmlbase/\n\n## Installation\n\n```Smalltalk\nMetacello new\n  baseline: 'XMLParser';\n  repository: 'github://pharo-contributions/XML-XMLParser/src';\n  load.\n```\n\n## How to use\n\nUse the `XMLDOMParser` to parse a URL:\n\n```Smalltalk\n(XMLDOMParser parseURL: 'https://www.w3schools.com/xml/simple.xml') inspect\n```\n\nor give an XML file directly:\n\n```Smalltalk\n|xmlString|\nxmlString := '\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003ccountries\u003e\n  \u003ccountry code=\"af\" handle=\"afghanistan\" continent=\"asia\" iso=\"4\"\u003eAfghanistan\u003c/country\u003e\n  \u003ccountry code=\"al\" handle=\"albania\" continent=\"europe\" iso=\"8\"\u003eAlbania\u003c/country\u003e\n  \u003ccountry code=\"dz\" handle=\"algeria\" continent=\"africa\" iso=\"12\"\u003eAlgeria\u003c/country\u003e\n\u003c/countries\u003e'.\n\n(XMLDOMParser parse: xmlString) document root nodes inspect\n```\n\nCheck [https://montyos.wordpress.com](https://montyos.wordpress.com) for more\nexamples and descriptions.\n\n## Screenshot\n\n![alt text](doc/images/screen001.png \"Screenshot\")\n\n## LICENSE\n\n[MIT License](LICENSE)\n\n## History\n\nThis project was migrated from [http://smalltalkhub.com/#!/~PharoExtras/XMLParser](http://smalltalkhub.com/#!/~PharoExtras/XMLParser)\n","funding_links":[],"categories":["Data interexchange format"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpharo-contributions%2FXML-XMLParser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpharo-contributions%2FXML-XMLParser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpharo-contributions%2FXML-XMLParser/lists"}