Trisha Shetty (Editor)

XProc

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Filename extension
  
.xpl

Type of format
  
Stylesheet language

Standard
  
1.0 (Recommendation)

Internet media type
  
application/xproc+xml

Extended from
  
XML

Developed by
  
World Wide Web Consortium

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). 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:

Implementations

  • Calabash maintained by Norman Walsh
  • Calumet, EMC’s XProc implementation
  • MorganaXProc, developed by <xml-project />
  • 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
  • References

    XProc Wikipedia