XSLT サービス / XSLT Service

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.
# Turbine サービスのためのクラスはここで定義しなければなりません
# Format: services.[name].classname=[implementing class]
#
# To specify properties of a service use the following syntax:
# サービスのプロパティを設定するには次の書式を用います:
# service.[name].[property]=[value]

services.XSLTService.classname=org.apache.turbine.services.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 をご覧ください。