Questions Columns Rows
GitHub icon


XProc - Programming language

< >

XProc is a programming language created in 1990.

#650on PLDB 33Years Old 93Repos

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

Example from Linguist:
<?xml version="1.0" encoding="UTF-8"?> <p:declare-step xmlns:p="" xmlns:c="" version="1.0"> <p:input port="source"> <p:inline> <doc>Hello world!</doc> </p:inline> </p:input> <p:output port="result"/> <p:identity/> </p:declare-step>
Example from Wikipedia:
<p:pipeline name="pipeline" xmlns:p="" 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>

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Stats · Sponsor · Traffic · Traffic Today · Day 268 · · Logout