https://github.com/h1alexbel/eo-dom
EO Objects for Manipulations with DOM
https://github.com/h1alexbel/eo-dom
dom-manipulation eolang xml
Last synced: about 1 year ago
JSON representation
EO Objects for Manipulations with DOM
- Host: GitHub
- URL: https://github.com/h1alexbel/eo-dom
- Owner: h1alexbel
- License: mit
- Created: 2024-12-30T18:31:55.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-28T09:12:29.000Z (over 1 year ago)
- Last Synced: 2025-03-28T10:21:30.106Z (over 1 year ago)
- Topics: dom-manipulation, eolang, xml
- Language: Java
- Homepage:
- Size: 259 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# EO objects for DOM manipulation

[](https://www.elegantobjects.org)
[](http://www.rultor.com/p/h1alexbel/eo-dom)
[](https://www.jetbrains.com/idea/)
[](https://github.com/h1alexbel/eo-dom/actions/workflows/mvn.yml)
[](http://www.0pdd.com/p?name=h1alexbel/eo-dom)
[](https://hitsofcode.com/view/github/h1alexbel/eo-dom)
[](https://codecov.io/gh/h1alexbel/eo-dom)
[](https://github.com/h1alexbel/eo-dom/blob/master/LICENSE.txt)
[EO] objects for manipulations with [DOM].
**Motivation**. [EO], an experimental programming language lacks objects for
XML manipulation. `eo-dom` offers standard [objects](#objects) for building,
traversing XML documents using [DOM] and [XPath].
## Objects
Here is how it works:
```eo
+alias org.eolang.dom.doc
+alias org.eolang.dom.dom-parser
# Test that checks eo-dom functionality.
[] > finds-element-at-index
dom-parser.parse-from-string > doc
""
doc.get-elements-by-tag-name "book" > books
books.at 0 > first
first.get-attribute "title" > title
eq. > @
title
"Object Thinking"
```
## How to contribute?
Make sure that you have Java 11+ installed on your system, then fork this
repository, make changes, send us a [pull request][guidelines]. We will
review your changes and apply them to the `master` branch shortly, provided
they don't violate our quality standards. To avoid frustration, before sending
us your pull request please run full build:
```bash
mvn clean install -Pqulice
```
[EO]: https://www.eolang.org
[DOM]: https://en.wikipedia.org/wiki/Document_Object_Model
[XPath]: https://en.wikipedia.org/wiki/XPath
[guidelines]: https://www.yegor256.com/2014/04/15/github-guidelines.html