View Source Smee.Sigils (Smee v0.5.0)

Smee.Sigils provides a version of SweetXml's ~x sigil for creating XPaths, optimised for working with SAML metadata. All of Smee's known XML namespaces will be automatically loaded for you.

For more information please read the official SweetXml documentation.

import Smee.Sigils to use. If you are also importing SweetXml functions you should avoid loading both Smee and SweetXml's versions of this sigil:

  import SweetXml, except: [sigil_x: 2]
  import Smee.Sigils

This sigil does not automatically precompile or cache, so it's advisable to use a module attribute to store the compiled xpath if you can.

Summary

Functions

A convenient replacement for

Functions

A convenient replacement for