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>
没有合适的资源?快使用搜索试试~ 我知道了~
KML文件筛选带位置的照片程序
共970个文件
msg:145个
enc:80个
tcl:69个
0 下载量 30 浏览量
2024-01-12
16:49:32
上传
评论
收藏 17.06MB ZIP 举报
温馨提示
通过一个直观的用户界面,用户可以选择一个KML文件和照片文件夹。用户可通过界面轻松选择所需的KML文件和照片文件夹。系统自动读取照片的EXIF位置数据,并运用先进的地理信息系统(GIS)技术,精确地筛选出位于KML文件中指定地理范围内的照片。为提高筛选过程的效率和准确性,我们采用先进的并行计算技术,显著加快了处理速度。这样,用户便能迅速获取与特定地理区域相关的照片,从而轻松地进行进一步的编辑或分析。这样可以筛选出需要航测倾斜摄影测量建模的软件。
资源推荐
资源详情
资源评论
收起资源包目录
KML文件筛选带位置的照片程序 (970个子文件)
Abidjan 147B
Accra 183B
Acre 194B
ACT 190B
Adak 8KB
Addis_Ababa 189B
Adelaide 8KB
Aden 171B
Alaska 189B
Aleutian 176B
Algiers 1KB
Almaty 2KB
Amman 3KB
Amsterdam 190B
Anadyr 2KB
Anchorage 8KB
Andorra 7KB
Anguilla 202B
Antananarivo 190B
Antigua 201B
Apia 909B
Aqtau 2KB
Aqtobe 2KB
Araguaina 2KB
Arizona 184B
Aruba 199B
Ashgabat 878B
Ashkhabad 182B
Asmara 184B
Asmera 184B
AST4 201B
AST4ADT 192B
Astrakhan 2KB
Asuncion 8KB
Athens 8KB
Atikokan 187B
Atka 177B
Atlantic 189B
Atyrau 2KB
Auckland 9KB
Azores 10KB
Baghdad 2KB
Bahia 2KB
Bahia_Banderas 2KB
Bahrain 171B
BajaNorte 190B
BajaSur 191B
Baku 2KB
Bamako 184B
Bangkok 181B
Bangui 178B
Banjul 184B
Barbados 648B
Barnaul 2KB
Beirut 8KB
Belem 1KB
Belfast 182B
Belgrade 7KB
Belize 3KB
Berlin 8KB
Bermuda 9KB
Beulah 8KB
Bishkek 2KB
Bissau 176B
Blanc-Sablon 206B
Blantyre 183B
Boa_Vista 1KB
Bogota 246B
Boise 8KB
Bougainville 280B
Bratislava 185B
Brazzaville 183B
Brisbane 674B
Broken_Hill 8KB
Brunei 176B
Brussels 9KB
Bucharest 8KB
Budapest 8KB
Buenos_Aires 2KB
Buenos_Aires 239B
Bujumbura 184B
Busingen 183B
Cairo 4KB
Calcutta 178B
Cambridge_Bay 8KB
Campo_Grande 3KB
Canary 7KB
Canberra 195B
Cancun 1KB
Cape_Verde 246B
Caracas 284B
Casablanca 5KB
Casey 478B
Catamarca 2KB
Catamarca 227B
Cayenne 185B
Cayman 185B
Center 8KB
Central 191B
Central 184B
共 970 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
哈嗨哈
- 粉丝: 690
- 资源: 84
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功