mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
New language: XProc - an XML Pipeline language (W3C)
This commit is contained in:
@@ -1268,6 +1268,13 @@ XML:
|
|||||||
- .classpath
|
- .classpath
|
||||||
- .project
|
- .project
|
||||||
|
|
||||||
|
XProc:
|
||||||
|
type: programming
|
||||||
|
group: XML
|
||||||
|
primary_extension: .xpl
|
||||||
|
extensions:
|
||||||
|
- .xproc
|
||||||
|
|
||||||
XQuery:
|
XQuery:
|
||||||
type: programming
|
type: programming
|
||||||
color: "#2700e2"
|
color: "#2700e2"
|
||||||
|
|||||||
11
samples/XProc/xproc.xpl
Normal file
11
samples/XProc/xproc.xpl
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?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">
|
||||||
|
<p:inline>
|
||||||
|
<doc>Hello world!</doc>
|
||||||
|
</p:inline>
|
||||||
|
</p:input>
|
||||||
|
<p:output port="result"/>
|
||||||
|
<p:identity/>
|
||||||
|
</p:declare-step>
|
||||||
Reference in New Issue
Block a user