Data.GI.GIR.XMLUtils

Description

Some helpers for making traversals of GIR documents easier.

Synopsis

# Documentation

Turn a node into an element (if it is indeed an element node).

Find all children of the given element which are XML Elements themselves.

The local name of an element.

Lookup an attribute for an element (with no prefix).

Constructors

 GLibGIRNS CGIRNS
Instances
 Source # Instance detailsMethodsshowList :: [GIRXMLNamespace] -> ShowS #

Lookup an attribute for an element, given the namespace where it lives.

Restrict to those with the given local name.

Restrict to those with given name.

Find the first child element with the given name.

Get the content of a given element, if it exists.

Construct a Name by only giving the local name.

Construct a Name specifying a namespace too.