polyglot v0.0.1 Polyglot.XML

Elixir wrapper for xmerl adapted from Exml https://github.com/expelledboy/exml

Summary

Functions

Get the text at the specified xpath location from doc

Parse the specified file and return an xmerl document

Extract text from an xmerl node

Get the xmerl node at the specified xpath location from doc

Functions

get(doc, path)

Get the text at the specified xpath location from doc.

parse_file(file)

Parse the specified file and return an xmerl document.

text(list)

Extract text from an xmerl node.

xpath(doc, path)

Get the xmerl node at the specified xpath location from doc.

Macros

xmlAttribute(args \\ [])
xmlAttribute(record, args)
xmlElement(args \\ [])
xmlElement(record, args)
xmlText(args \\ [])
xmlText(record, args)