PHPackages                             hananils/kirby-xslt - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hananils/kirby-xslt

AbandonedArchivedKirby-plugin[Utility &amp; Helpers](/categories/utility)

hananils/kirby-xslt
===================

XSLT for Kirby

3.0.0(3y ago)741[3 issues](https://github.com/hananils/kirby-xslt/issues)MITPHP

Since Feb 15Pushed 3y ago4 watchersCompare

[ Source](https://github.com/hananils/kirby-xslt)[ Packagist](https://packagist.org/packages/hananils/kirby-xslt)[ RSS](/packages/hananils-kirby-xslt/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (0)

[![Kirby XSLT](.github/title.png)](.github/title.png)

**XSLT** is a template component for [Kirby 3](https://getkirby.com) enabling XSLT support in your templates. It let's you specify the needed data for each blueprint which is then provided as XML on the frontend:

- [Settings up XML output](#data)
- [Creating templates](#templates)
- [Shortcomings](#shortcomings)

Installation
------------

[](#installation)

### Download

[](#download)

Download and copy this repository to `/site/plugins/xslt`.

### Git submodule

[](#git-submodule)

```
git submodule add https://github.com/hananils/kirby-xslt.git site/plugins/xslt

```

### Composer

[](#composer)

```
composer require hananils/kirby-xslt

```

Data
====

[](#data)

By default, the plugin provides XML nodes for the `$kirby`, `$site`, `$pages` and `$page` objects. As soon as you are logged in, you can view the data of any page by appending `?data` to the URL. The base output without additional setting using the Plainkit looks similar to this:

```

      http://localhost:8888
      http://localhost:8888
      http://localhost:8888
      http://localhost:8888/assets
      http://localhost:8888/api
      http://localhost:8888/media
      http://localhost:8888/panel

      912ec803b2ce49e4a541068d495ab570912ec803b2ce49e4a541068d495ab570
      dac9630a

      Nils Hörrmann
      buero@hananils.de

    Home

      Error

        error

      Home

        home

    hana+nils · Büro für Gestaltung

```

Any object defined in a controller will be added to the XML output as well, e. g.:

```
