p:document 001
Tests p:document with an absolute uri in @href
Test is expected to pass.
The pipeline
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
<p:output port="result"/>
<p:identity>
<p:with-input>
<p:document href="http://xproc.org"/>
</p:with-input>
</p:identity>
</p:declare-step>
Result
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:t="http://xproc.org/ns/testsuite/3.0">
<head>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type"/>
<meta content="ie=edge"
http-equiv="x-ua-compatible"/>
<meta content="width=device-width, initial-scale=1"
name="viewport"/>
<link href="css/tufte.css" rel="stylesheet"/>
<link href="css/xproc.css" rel="stylesheet"/>
<link href="https://use.typekit.net/zgg8zqr.css"
rel="stylesheet"/>
<link href="https://botsin.space/@xproc" rel="me"/>
<script crossorigin="anonymous"
integrity="sha256-BJeo0qm959uMBGb65z40ejJYGSgR7REI4+CW1fNKwOg="
src="https://code.jquery.com/jquery-3.4.0.min.js"/>
<script src="js/mdecl.js"/>
<link href="img/favicon.gif" rel="icon"/>
<title>XProc - Home</title>
</head>
<body>
<main>
<header>
<nav class="sidebar">
<img alt="[Logo]" id="mainlogo"
src="img/logo.png"/>
<ul>
<li>
<a href="index.html">Home</a>
</li>
<li>
<a href="introduction.html">Introduction</a>
</li>
<li>
<a href="specifications.html">Specification</a>
</li>
<li>
<a href="processors.html">Processors</a>
</li>
<li>
<a href="learning.html">Learning</a>
</li>
<li>
<a href="test-suite.html">Test suite</a>
</li>
<li>
<a href="https://dashboard.xproc.org/">Dashboard</a>
</li>
</ul>
</nav>
<nav class="inline">
<ul>
<li>
<a href="index.html">Home</a>
</li>
<li>
<a href="introduction.html">Introduction</a>
</li>
<li>
<a href="specifications.html">Specification</a>
</li>
<li>
<a href="processors.html">Processors</a>
</li>
<li>
<a href="learning.html">Learning</a>
</li>
<li>
<a href="test-suite.html">Test suite</a>
</li>
<li>
<a href="https://dashboard.xproc.org/">Dashboard</a>
</li>
</ul>
</nav>
</header>
<article>
<h1>XProc</h1>
<p>XProc is an XML based programming language for processing documents in pipelines: chaining conversions and other steps together to achieve the desired results. This site is dedicated to XProc version 3.0 and higher.</p>
<p>The current stable version of the Xproc specification is <a href="https://xproc.org/specifications.html#current">3.0</a>. Version 3.1, a relatively minor update, is currently (2024) under development.</p>
<p>XProc has been around, in its 1.0 version, since 2010. All information about this older version can be found <a href="https://archive.xproc.org">here</a>.</p>
<p>The following are important sources of information about XProc 3.0:</p>
<ul>
<li>To whet your appetite, read the <a href="introduction.html">XProc introduction</a> or have a look at the <a href="https://www.xml.com/articles/2019/11/05/introduction-xproc-30/">Introduction to XProc 3.0</a> article at the <a href="https://www.xml.com/">xml.com website</a>.</li>
<li>There's an <em>XProc 3.0 Programmer Reference</em> book, which you can order <a href="https://xmlpress.net/publications/xproc-3-0/">here</a>.</li>
<li>We have collected as many learning materials about XProc 3.0 as we could find <a href="learning.html">here</a> (conference talks, webinars, articles, etc.).</li>
<li>There are, of course, the <a href="specifications.html">formal specifications</a> of the XProc 3.0 language.</li>
<li>To run XProc you need one of the <a href="processors.html">XProc processors</a>
<ul>
<li>Conformance checking of these processors is done using the <a href="test-suite.html">XProc test suite</a>
</li>
</ul>
</li>
<li>You can find XProc on GitHub at <a href="https://github.com/xproc">https://github.com/xproc</a>
</li>
<li>Join in or visit the archives of the <a href="https://lists.w3.org/Archives/Public/xproc-dev/">XProc mailing list</a>: <code>xproc-dev@w3.org</code>
</li>
</ul>
<p>The XProc specification is maintained by Achim Berndzen, Gerrit Imsieke, Erik Siegel and Norm Tovey-Walsh.</p>
</article>
<footer>
<div class="iblock">Published 30 May 2025</div>
</footer>
</main>
</body>
</html>
Schematron checks
<s:schema xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:t="http://xproc.org/ns/testsuite/3.0"
queryBinding="xslt2">
<s:ns uri="http://www.w3.org/1999/xhtml"
prefix="html"/>
<s:pattern>
<s:rule context="/">
<s:assert test="html:html/html:head/html:title='XProc - Home'">Element hmtl/head/title is not 'XProc - Home'.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Revision history
- 19 Sep 2024, Achim Berndzen
- Changed expected document title due to change of website.
- 10 Jun 2021, Achim Berndzen
- Added attribute 'queryBinding' to schematron's schema.
- 11 Jun 2020, Achim Berndzen
- Changed test as a consequence of the new title of xproc.org.
- 31 Aug 2019, Achim Berndzen
- Change target for http-request to xproc.org.
- 03 Apr 2018, Achim Berndzen
- Some new tests.