承接 schxslt/redux-xslt1 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

schxslt/redux-xslt1

最新稳定版本:v1.0.3

Composer 安装命令:

composer require schxslt/redux-xslt1

包简介

An implementation of an XSLT 1.0 ISO Schematron processor for the XSLT 1.0 query language binding

README 文档

README

A feature complete implementation of an XSLT 1.0 ISO Schematron processor for the XSLT 1.0 query language binding.

SchXslt Redux XSLT1 is copyright (c) by David Maus and released under the terms of the MIT license.

About

This is a trimmed down version of the XSLT 1.0 processor of SchXslt. The processor is implemend as a series of XSLT transformation that transpile a ISO Schematron schema to an XSLT validation stylesheet. The validation stylesheet creates a SVRL report when applied to a document instance.

Transpiling a schema is done in three steps.

The stylesheet 1-include.xsl assembles a complete schema by resolving and internalizing external definitions. It acts on the sch:include and the sch:extends with a @href attribute.

The stylesheet 2-expand.xsl expands (instantiates) abstract rules and abstract patterns.

The stylesheet 3-transpile.xsl transpiles the schema to the XSLT validation stylesheet.

SchXslt Redux XSLT1 is a strict implementation of ISO Schematron. If you switch from a different implementation such as SchXslt or the "Skeleton" your schema files might not work as expected.

Feel free to contact me if you need help getting your Schematron standard-compliant.

Limitations

SchXslt Redux XSLT1 comes with the following limitations.

Schematron variables scoped to a phase or pattern are promoted to global XSLT variables.

Schematron variables cannot be used in the rule context expression. XSLT 1.0 forbids the use of variable references in match patterns.

The URI of the primary document is neither reported in the svrl:active-pattern/@documents, nor in the svrl:fired-rule/@document attribute. XSLT 1.0 does not provide a function to access the URI of a document..

Installation and Usage

The Github releases page provides a ZIP file with the processor stylesheets. Download and unzip the file in an appropriate location. Users of eXist and BaseX can download and import an EXPath package from the releases page, too.

Java users can use the artifact name.dmaus.schxslt.schxslt-redux-xslt1 from Maven Central.

PHP users can use the package schxslt/redux-xslt1 from Packagist. The package provides a class SchXslt\Xslt1\Locator with a getStylesheets() method that returns an array with the paths to the stylesheets.

Authors

David Maus <dmaus@dmaus.name>

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: XSLT

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固