xslt_ex v0.1.0 XsltEx View Source

Module to do XSLT transformations on the fly.

Link to this section Summary

Functions

Apply a given XSLT stylesheet to a binary XML

Link to this section Functions

Link to this function transform(xslt_path, xml_data) View Source
transform(xslt_path :: String.t(), xml_data :: String.t()) :: tuple()

Apply a given XSLT stylesheet to a binary XML

Examples

iex> XsltEx.transform("path/to/stylesheet.xslt", xml)
%{:ok, transformed_xml}