ISO SCHEMATRON 2010
XSLT implementation by Rick Jelliffe with assistance from members of Schematron-love-in maillist.
2010-04-21
Two distributions are available. One is for XSLT1 engines.
The other is for XSLT2 engines, such as SAXON 9.
This version of Schematron splits the process into a pipeline of several different XSLT stages.
1) First, preprocess your Schematron schema with iso_dsdl_include.xsl.
This is a macro processor to assemble the schema from various parts.
If your schema is not in separate parts, you can skip this stage.
This stage also generates error messages for some common XPath syntax problems.
2) Second, preprocess the output from stage 1 with iso_abstract_expand.xsl.
This is a macro processor to convert abstract patterns to real patterns.
If your schema does not use abstract patterns, you can skip this
stage.
3) Third, compile the Schematron schema into an XSLT script.
This will typically use iso_svrl_for_xslt1.xsl or iso_svrl_for_xslt2.xsl
(which in turn invoke iso_schematron_skeleton_for_xslt1.xsl or iso_schematron_skeleton_for_saxon.xsl)
However, other "meta-stylesheets" are also in common use; the principle of operation is the same.
If your schema uses Schematron phases, supply these as command line/invocation parameters
to this process.
4) Fourth, run the script generated by stage 3 against the document being validated.
If you are using the SVRL script, then the output of validation will be an XML document.
If your schema uses Schematron parameters, supply these as command line/invocation parameters
to this process.
The XSLT2 distribution also features several next generation features,
such as validating multiple documents. See the source code for details.
Schematron assertions can be written in any language, of course; the file
sch-messages-en.xhtml contains the diagnostics messages from the XSLT2 skeleton
in English, and this can be used as template to localize the skeleton's
error messages. Note that typically programming errors in Schematron are XPath
errors, which requires localized messages from the XSLT engine.
ANT
---
To give an example of how to process a document, here is a sample ANT task.
<target name="schematron-compile-test" >
<!-- expand inclusions -->
<xslt basedir="test/schematron"
style="iso_dsdl_include.xsl" in="test.sch" out="test1.sch">
<classpath>
<pathelement location="${lib.dir}/saxon9.jar"/>
</classpath>
</xslt>
<!-- expand abstract patterns -->
<xslt basedir="test/schematron"
style="iso_abstract_expand.xsl" in="test1.sch" out="test2.sch">
<classpath>
<pathelement location="${lib.dir}/saxon9.jar"/>
</classpath>
</xslt>
<!-- compile it -->
<xslt basedir="test/schematron"
style="iso_svrl_for_xslt2.xsl" in="test2.sch" out="test.xsl">
<classpath>
<pathelement location="${lib.dir}/saxon9.jar"/>
</classpath>
</xslt>
<!-- validate -->
<xslt basedir="test/schematron"
style="test.xsl" in="instance.xml" out="instance.svrlt">
<classpath>
<pathelement location="${lib.dir}/saxon9.jar"/>
</classpath>
</xslt>
</target>
没有合适的资源?快使用搜索试试~ 我知道了~
OPCUA服务端数据发送模拟程序
共1917个文件
msg:143个
pyd:98个
enc:78个
需积分: 0 1 下载量 117 浏览量
2022-12-28
18:11:23
上传
评论
收藏 37.13MB RAR 举报
温馨提示
1、本程序仅作测试使用,可按照个性化定制发送数据,而非随机数据; 2、需要发送的数据位于data文件夹,每个csv文档作为数据发送单元,且csv文档中每列必须要有表头; 3、本程序根据csv第一行数据自动判断数据类型,每列数据类型必须一致;支持:数字型、字符串型数据发布; 4、csv文档中的数据每一列作为ua的一个tag点,当数据发布完成后,将从头开始循环发数,直至本程序停止;
资源推荐
资源详情
资源评论
收起资源包目录
OPCUA服务端数据发送模拟程序 (1917个子文件)
Abidjan 148B
Abidjan 141B
Accra 1KB
Accra 148B
Acre 614B
Acre 189B
ACT 2KB
ACT 185B
Adak 8KB
Adak 2KB
Addis_Ababa 265B
Addis_Ababa 184B
Adelaide 8KB
Adelaide 2KB
Aden 166B
Aden 151B
Helvetica-Oblique.afm 76KB
Helvetica.afm 76KB
Helvetica-BoldOblique.afm 71KB
Helvetica-Bold.afm 70KB
Times-Italic.afm 67KB
Times-Bold.afm 65KB
Times-Roman.afm 61KB
Times-BoldItalic.afm 61KB
putr8a.afm 23KB
putbi8a.afm 22KB
putri8a.afm 22KB
putb8a.afm 22KB
ptmbi8a.afm 18KB
ptmri8a.afm 18KB
ptmb8a.afm 18KB
ptmr8a.afm 18KB
phvro8a.afm 18KB
phvro8an.afm 18KB
phvr8a.afm 18KB
phvr8an.afm 18KB
pncbi8a.afm 18KB
pagko8a.afm 17KB
pagdo8a.afm 17KB
pagk8a.afm 17KB
phvbo8a.afm 17KB
phvbo8an.afm 17KB
pagd8a.afm 17KB
phvb8a.afm 17KB
phvb8an.afm 17KB
pncri8a.afm 17KB
pncr8a.afm 17KB
pzcmi8a.afm 16KB
pncb8a.afm 16KB
pplbi8a.afm 16KB
pplr8a.afm 16KB
phvlo8a.afm 16KB
pplri8a.afm 16KB
pplb8a.afm 16KB
phvl8a.afm 16KB
pcrro8a.afm 15KB
Courier-Oblique.afm 15KB
pcrbo8a.afm 15KB
Courier-BoldOblique.afm 15KB
pcrb8a.afm 15KB
pbkdi8a.afm 15KB
pcrr8a.afm 15KB
Courier.afm 15KB
Courier-Bold.afm 15KB
pbkli8a.afm 15KB
pbkd8a.afm 15KB
pbkl8a.afm 15KB
cmex10.afm 12KB
cmmi10.afm 10KB
cmr10.afm 10KB
Symbol.afm 10KB
psyr.afm 10KB
ZapfDingbats.afm 10KB
pzdr.afm 9KB
cmsy10.afm 8KB
cmtt10.afm 7KB
Alaska 2KB
Alaska 184B
Aleutian 2KB
Aleutian 171B
Algiers 1KB
Algiers 735B
Almaty 2KB
Almaty 983B
Amman 7KB
Amman 1KB
Amsterdam 9KB
Amsterdam 3KB
Anadyr 2KB
Anadyr 1KB
Anchorage 8KB
Anchorage 2KB
Andorra 7KB
Andorra 2KB
Anguilla 246B
Anguilla 203B
Antananarivo 265B
Antananarivo 185B
Antigua 246B
Antigua 202B
共 1917 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
qq_1182469397
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- ncnn 手机端极致优化的高性能神经网络前向计算框架
- 鞋、帽、头发、头检测54-YOLO(v5至v9)、COCO、CreateML、Paligemma、TFRecord、VOC数据集合集.rar
- 蓝屏信息速查bluescreenview-1.5.5.0(电脑蓝屏分析工具)
- VID_20241204_173621760.mp4
- IATF16949-2016 汽车生产件及相关服务件组织的质量管理体系要求
- C++实现手动开平方根
- rufus-3.19(PE制作工具)
- 基于keras集成常见图像分类模型含VGG16-19、InceptionV3、Xception、MobileNet、AlexNet、LeNet、ZF-Net、ResNet、DenseNet.zip
- Vue vs Angular:2024 年选择哪个框架
- 宽带账户密码生成器(获取上网帐号密码并自动保存到D盘)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功