# bbc-xslt

> Node.js bindings for libxslt compatible with libxmljs (variant of node-libxslt)

Latest version **0.4.3** (published 2015-04-27) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install bbc-xslt
pnpm add bbc-xslt
yarn add bbc-xslt
bun add bbc-xslt
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.4.3 |
| Published | 2015-04-27 |
| First published | 2015-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 50 |
| Author | Leonie Kenyon and Alban Mouton |
| Maintainers | leonie |
| Keywords | xml, xslt, libxslt, bindings, node-libxslt |

## Links

- npm: https://www.npmjs.com/package/bbc-xslt
- Repository: https://github.com/albanm/node-libxslt
- Homepage: https://github.com/Leonie-/bbc-xslt#readme
- Issues: https://github.com/albanm/node-libxslt/issues
- npm.io page: https://npm.io/package/bbc-xslt

## Dependencies (3)

- [nan](https://npm.io/package/nan.md) ~1.2.0
- [bindings](https://npm.io/package/bindings.md) ~1.2.1
- [libxmljs](https://npm.io/package/libxmljs.md) git://github.com/gagern/libxmljs.git#52c5eba92920a4f1335d

## Recent versions

- 0.4.3 (latest) — 2015-04-27
- 0.4.2 — 2015-04-27

## README

A variant of the package [node-libxslt](https://github.com/albanm/node-libxslt) that works with Node version 0.12.2.

The compatible version of libxmljs can used with it like so: 

```js
var libxmljs = require('bbc-xslt').libxmljs;
```

bbc-xslt
============

[![Build status](https://travis-ci.org/albanm/node-libxslt.svg)](https://travis-ci.org/albanm/node-libxslt)
[![Code Climate](https://codeclimate.com/github/albanm/node-libxslt/badges/gpa.svg)](https://codeclimate.com/github/albanm/node-libxslt)
[![NPM version](https://badge.fury.io/js/libxslt.svg)](http://badge.fury.io/js/libxslt)

Node.js bindings for [libxslt](http://xmlsoft.org/libxslt/) compatible with [libxmljs](https://github.com/polotek/libxmljs/issues/226).

Installation
------------
```
npm install bbc-xslt
```

Basic usage
-----------

```js
var bbc-xslt = require('bbc-xslt');

bbc-xslt.parse(stylesheetString, function(err, stylesheet){
  var params = {
    MyParam: 'my value'
  };

  // 'params' parameter is optional
  stylesheet.apply(documentString, params, function(err, result){
    // err contains any error from parsing the document or applying the stylesheet
    // result is a string containing the result of the transformation
  });  
});
```

---
_Source: https://npm.io/package/bbc-xslt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
