XSLT Service

XSLTサービス

The XSLT service is a simple way to transform a well-formed XML document into web content for your site. This may be dynamic or static content. You can easily integrate the XSLT service into a Turbine screen module, or you can use the existing org.apache.turbine.modules.layouts.VelocityXslLayout class to produce dynamic content.

XSLTサービスは、整形式のXMLドキュメントをあなたのサイトのウェブコンテンツへと変換する簡単な方法です。 コンテンツは動的にも静的にもなります。 XSLTサービスはTurbineスクリーンモジュールの中へ簡単に統合でき、また、動的コンテンツを生成するために既存のorg.apache.turbine.modules.layouts.VelocityXslLayoutクラスを使用することもできます。

Configuration

設定

# -------------------------------------------------------------------
#
#  S E R V I C E S
#
# -------------------------------------------------------------------

# Classes for Turbine Services should be defined here.
# Format: services.[name].classname=[implementing class]
#
# To specify properties of a service use the following syntax:
# service.[name].[property]=[value]

# Turbineのサービスのためのクラス群はここに定義します。
# フォーマット: services.[name].classname=[implementing class]
#
# サービスのプロパティを設定するには、以下の書式を使用します:
# service.[name].[property]=[value]

services.XSLTService.classname=org.apache.fulcrum.xslt.TurbineXSLTService
.
.
.
# -------------------------------------------------------------------
#
#  X S L T  S E R V I C E
#
# -------------------------------------------------------------------
services.XSLTService.path = /WEB-INF/stylesheets
services.XSLTService.cache = false

Usage

使用方法

Please look at the org.apache.turbine.modules.layouts.VelocityXslLayout for an example usage pattern.

使用パターンの例はorg.apache.turbine.modules.layouts.VelocityXslLayoutを参照してください。