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>
没有合适的资源?快使用搜索试试~ 我知道了~
labelImg-1.8.6汉化中文版exe打包下载直接可用支持windows-x64.zip
共151个文件
dll:85个
pyd:30个
qm:23个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 114 浏览量
2024-08-08
20:55:04
上传
评论
收藏 38.72MB ZIP 举报
温馨提示
labelImg-1.8.6是本人亲自使用pyinstaller打包绿色中文版本,下载后解压到文件夹后打开里面labelImg.exe即可使用,无需额外安装python环境适合windows x64系统,不能用于Linux和macOS系统
资源推荐
资源详情
资源评论
收起资源包目录
labelImg-1.8.6汉化中文版exe打包下载直接可用支持windows-x64.zip (151个子文件)
opengl32sw.dll 19.95MB
Qt5Gui.dll 6.68MB
Qt5Core.dll 5.74MB
Qt5Widgets.dll 5.24MB
python38.dll 4.01MB
d3dcompiler_47.dll 3.98MB
Qt5Quick.dll 3.96MB
Qt5Qml.dll 3.43MB
libGLESv2.dll 3.23MB
libcrypto-1_1-x64.dll 3.06MB
qwindows.dll 1.41MB
Qt5Network.dll 1.28MB
libxml2.dll 1.22MB
ucrtbase.dll 993KB
iconv.dll 917KB
qminimal.dll 825KB
qoffscreen.dll 737KB
libssl-1_1-x64.dll 666KB
MSVCP140.dll 613KB
qwebp.dll 498KB
qwebgl.dll 471KB
Qt5QmlModels.dll 428KB
Qt5DBus.dll 426KB
qjpeg.dll 411KB
qtiff.dll 381KB
Qt5Svg.dll 323KB
libxslt.dll 214KB
Qt5WebSockets.dll 146KB
qwindowsvistastyle.dll 141KB
pywintypes38.dll 139KB
VCRUNTIME140.dll 83KB
zlib.dll 83KB
libexslt.dll 81KB
qxdgdesktopportal.dll 67KB
python3.dll 51KB
qicns.dll 44KB
qsvgicon.dll 41KB
qgif.dll 38KB
qico.dll 37KB
VCRUNTIME140_1.dll 36KB
libffi-7.dll 32KB
qsvg.dll 31KB
qtga.dll 31KB
MSVCP140_1.dll 31KB
qwbmp.dll 29KB
api-ms-win-crt-math-l1-1-0.dll 27KB
libEGL.dll 24KB
api-ms-win-crt-stdio-l1-1-0.dll 24KB
api-ms-win-crt-string-l1-1-0.dll 24KB
api-ms-win-crt-runtime-l1-1-0.dll 23KB
api-ms-win-crt-convert-l1-1-0.dll 22KB
api-ms-win-core-file-l1-1-0.dll 22KB
api-ms-win-core-localization-l1-2-0.dll 21KB
api-ms-win-crt-time-l1-1-0.dll 21KB
api-ms-win-core-processthreads-l1-1-0.dll 20KB
api-ms-win-crt-filesystem-l1-1-0.dll 20KB
api-ms-win-core-synch-l1-1-0.dll 20KB
api-ms-win-crt-process-l1-1-0.dll 19KB
api-ms-win-core-processenvironment-l1-1-0.dll 19KB
api-ms-win-crt-heap-l1-1-0.dll 19KB
api-ms-win-core-sysinfo-l1-1-0.dll 19KB
api-ms-win-crt-conio-l1-1-0.dll 19KB
api-ms-win-core-libraryloader-l1-1-0.dll 19KB
api-ms-win-core-console-l1-1-0.dll 19KB
api-ms-win-core-processthreads-l1-1-1.dll 19KB
api-ms-win-core-synch-l1-2-0.dll 19KB
api-ms-win-core-heap-l1-1-0.dll 19KB
api-ms-win-core-memory-l1-1-0.dll 19KB
api-ms-win-core-rtlsupport-l1-1-0.dll 19KB
api-ms-win-core-timezone-l1-1-0.dll 19KB
api-ms-win-crt-utility-l1-1-0.dll 19KB
api-ms-win-crt-environment-l1-1-0.dll 19KB
api-ms-win-crt-locale-l1-1-0.dll 19KB
api-ms-win-core-file-l2-1-0.dll 18KB
api-ms-win-core-interlocked-l1-1-0.dll 18KB
api-ms-win-core-errorhandling-l1-1-0.dll 18KB
api-ms-win-core-debug-l1-1-0.dll 18KB
api-ms-win-core-file-l1-2-0.dll 18KB
api-ms-win-core-util-l1-1-0.dll 18KB
api-ms-win-core-namedpipe-l1-1-0.dll 18KB
api-ms-win-core-datetime-l1-1-0.dll 18KB
api-ms-win-core-string-l1-1-0.dll 18KB
api-ms-win-core-handle-l1-1-0.dll 18KB
api-ms-win-core-profile-l1-1-0.dll 18KB
charset.dll 12KB
labelImg.exe 2.85MB
default_label_combobox.py 880B
QtWidgets.pyd 4.79MB
QtGui.pyd 2.32MB
QtCore.pyd 2.31MB
etree.cp38-win_amd64.pyd 1.61MB
unicodedata.pyd 1.04MB
objectify.cp38-win_amd64.pyd 297KB
diff.cp38-win_amd64.pyd 264KB
_decimal.pyd 255KB
clean.cp38-win_amd64.pyd 197KB
pyexpat.pyd 178KB
_elementtree.pyd 166KB
_elementpath.cp38-win_amd64.pyd 153KB
_lzma.pyd 152KB
共 151 条
- 1
- 2
资源评论
码农张三疯
- 粉丝: 1w+
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功