XProc| Filename extension | .xpl |
|---|
| Internet media type | application/xproc+xml |
|---|
| Developed by | World Wide Web Consortium |
|---|
| Type of format | Stylesheet language |
|---|
| Extended from | XML |
|---|
| Standard | 1.0 (Recommendation) |
|---|
XProc is a W3C Recommendation to define an XML transformation language to define XML Pipelines.
Below is an example abbreviated XProc file:
<p:pipeline name="pipeline" xmlns:p="http://www.w3.org/ns/xproc" version="1.0">
<p:input port="schemas" sequence="true"/>
<p:xinclude/>
<p:validate-with-xml-schema>
<p:input port="schema">
<p:pipe step="pipeline" port="schemas"/>
</p:input>
</p:validate-with-xml-schema>
</p:pipeline>
This is a pipeline that consists of two atomic steps, XInclude and Validate. The pipeline itself has three inputs, “source” (a source document), “schemas” (a list of W3C XML Schemas) and “parameters” (for passing parameters). The XInclude step reads the pipeline input “source” and produces a result document. The Validate step reads the pipeline input “schemas” and the output from the XInclude step and produces a result document. The result of the validation, “result”, is the result of the pipeline.
Here is an equivalent less abbreviated XProc pipeline:
<p:pipeline name="pipeline" xmlns:p="http://www.w3.org/ns/xproc"
version="1.0">
<p:input port="schemas" sequence="true"/>
<p:xinclude name="included">
<p:input port="source">
<p:pipe step="pipeline" port="source"/>
</p:input>
</p:xinclude>
<p:validate-with-xml-schema name="validated">
<p:input port="source">
<p:pipe step="included" port="result"/>
</p:input>
<p:input port="schema">
<p:pipe step="pipeline" port="schemas"/>
</p:input>
</p:validate-with-xml-schema>
</p:pipeline>
Implementations
- Calabash maintained by Norman Walsh
- Calumet, EMC’s XProc implementation
- MorganaXProc, developed by <xml-project />[1]
- QuiXProc, Innovimax's (GPL) version in Java implementing Streaming and Parallel processing
- Tubular (LGPL) maintained by Herve Quiroz
- xprocxq, XQuery old implementation on top of eXist
- xproc.xq, XQuery implementation on top of MarkLogic[2]
See also
External links
- The XML Processing Model Working Group page at W3C
- The W3C Recommendation
- The web site maintained by Norman Walsh
- XProc tutorial
- XProc reference
References
- ↑ Berndzen, Achim; Imsieke, Gerrit (June 2016). "Interoperability of XProc pipelines". XML London 2016: 82–98. doi:10.14337/XMLLondon16.Berndzen01. ISBN 978-0-9926471-3-1.
- ↑ Fuller, James (June 2013). "xproc.xq - Architecture of an XProc Processor". XML London 2013: 113–134. doi:10.14337/XMLLondon13.Fuller01. ISBN 978-0-9926471-0-0. http://xmllondon.com/2013/presentations/fuller/.
World Wide Web Consortium (W3C) |
|---|
Products and standards | | Recommendations |
- ActivityPub
- ARIA
- Canonical XML
- CDF
- CSS
- DOM
- Geolocation API
- HTML (HTML5)
- ITS
- JSON-LD
- Linked Data Notifications
- MathML
- Micropub
- OWL
- PLS
- RDF
- RDF Schema
- SISR
- SKOS
- SMIL
- SOAP
- SRGS
- SRI
- SSML
- SVG
- SCXML
- SHACL
- SPARQL
- Timed text
- VoiceXML
- Web storage
- WSDL
- Webmention
- WebSub
- XForms
- XHTML
- XHTML+RDFa
- XInclude
- XLink
- XML
- XML Base
- XML Encryption
- XML Events
- XML Information Set
- XML namespace
- XML Schema
- XML Signature
- XOP
- XPath
- XPath 2.0
- XPointer
- XProc
- XQuery
- XSL
- XSL-FO
- XSLT (elements)
|
|---|
| Notes |
- IndieAuth
- JF2
- Post Type Discovery
- XAdES
- XHTML+SMIL
- XUP
|
|---|
| Working drafts |
- CCXML
- CURIE
- EME
- InkML
- MSE
- RIF
- SMIL Timesheets
- sXBL
- XFDL
- XFrames
- XBL
- XMLHttpRequest
|
|---|
| Guidelines |
- Web Content Accessibility Guidelines
|
|---|
| Initiative |
- Multimodal Interaction Activity (MMI)
- Markup Validation Service
- Web Accessibility Initiative
- WebPlatform
|
|---|
| Deprecated |
- C-HTML
- HDML
- JSSS
- PGML
- VML
- XHTML+MathML+SVG
|
|---|
| Obsoleted | |
|---|
|
|---|
| Organizations |
- Advisory Committee (AC)
- World Wide Web Foundation
| | Elected groups | |
|---|
| Working groups |
- CSS
- Geolocation
- Social Web
- SVG
- Web Hypertext Application Technology (WHATWG)
- Web Platform
|
|---|
| Community groups |
- Web Incubator Community Group (WICG)
|
|---|
| Closed groups |
- Device Description (DDWG)
- HTML
|
|---|
|
|---|
| Software | | | Browsers |
- Line Mode (1990–)
- Arena (1993–98)
- Agora (1994–97)
- Argo (1994–97)
- Amaya (browser/editor, 1996–2012)
|
|---|
|
|---|
| Conferences |
- International World Wide Web Conference (IW3C)
- Steering Committee (IW3C2)
- First conference ("WWW1", 1994)
|
|---|
 | Original source: https://en.wikipedia.org/wiki/XProc. Read more |