XProc is an actively used programming language created in 1990. XProc is a W3C Recommendation to define an XML transformation language to define XML Pipelines. Below is an example abbreviated XProc file: 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). Read more on Wikipedia...

29Years Old 20Users 0Jobs
  • XProc ranks in the top 20% of languages
  • the XProc wikipedia page
  • XProc first appeared in 1990
  • file extensions for XProc include xpl and xproc
  • See also: xml, java, xquery, xpath
  • I have 35 facts about XProc. what would you like to know? email me and let me know how I can help.

Example code from Linguist:

<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
    xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0">
    <p:input port="source">
            <doc>Hello world!</doc>
    <p:output port="result"/>

Example code from Wikipedia:

<p:pipeline name="pipeline" xmlns:p="http://www.w3.org/ns/xproc" 
  <p:input port="schemas" sequence="true"/>

  <p:xinclude name="included">
    <p:input port="source">
      <p:pipe step="pipeline" port="source"/>

  <p:validate-with-xml-schema name="validated">
    <p:input port="source">
      <p:pipe step="included" port="result"/>
    <p:input port="schema">
      <p:pipe step="pipeline" port="schemas"/>

Trending Repos

repo stars description

Last updated December 4th, 2019

Edit XProc