0.1.3 • Published 3 years ago

xml-wrappers v0.1.3

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

XML wrappers

A couple of wrappers for XML documents

XPath

Instead of the nightmare that is document.evaluate select returns a plain array of nodes.

import { select } from 'xml-wrappers';

const nodes = select(xmldoc, "//Activity[@Sport='Running']")

Also does a fairly good job ignoring the xml namespaces for the most common usecases.

Debug output is enabled with _XML_WRAPPERS_TRACE_ENABLED_ = true

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago