Skip to content

KlausTrainer/erl_xslt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

erl_xslt

erl_xslt provides an Erlang NIF binding for libxslt that can be used for XSL Transformations.

Functionality

Simply specify an XSLT stylesheet's filename and the XML to be transformed as binary, respectively. XSLT parameters are currently not supported.

Once a stylesheet has been read from the filesystem and is parsed, the stylesheet's parsed representation is cached in memory to be reused for speeding up subsequent transformations.

Requirements

Building

  make # build
  make check # run testsuite to verify that everything works correctly

Usage

  {ok, Xml} = file:read_file("foo.xml"),
  {ok, Result} = erl_xslt:transform(<<"stylesheet.xsl">>, Xml).

About

Erlang NIF for libxslt.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published