Skip to content

h1alexbel/eo-dom

Repository files navigation

EO objects for DOM manipulation

logo

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

mvn PDD status Hits-of-Code codecov License

EO objects for manipulations with DOM.

Motivation. EO, an experimental programming language lacks objects for XML manipulation. eo-dom offers standard objects for building, traversing XML documents using DOM and XPath.

Objects

Here is how it works:

+alias org.eolang.dom.doc
+alias org.eolang.dom.dom-parser

[] > finds-element-at-index
  dom-parser.parse-from-string > doc
    "<books><book title='Object Thinking'/><book title='Elegant Objects Vol 1.'/></books>"
  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. 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:

mvn clean install -Pqulice

About

EO Objects for Manipulations with DOM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages