mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Merge pull request #386 from rdeltour/xproc
New language: XProc - an XML Pipeline language (W3C)
This commit is contained in:
		@@ -1351,6 +1351,14 @@ XML:
 | 
			
		||||
  - .classpath
 | 
			
		||||
  - .project
 | 
			
		||||
 | 
			
		||||
XProc:
 | 
			
		||||
  type: programming
 | 
			
		||||
  group: XML
 | 
			
		||||
  lexer: XML
 | 
			
		||||
  primary_extension: .xpl
 | 
			
		||||
  extensions:
 | 
			
		||||
  - .xproc
 | 
			
		||||
 | 
			
		||||
XQuery:
 | 
			
		||||
  type: programming
 | 
			
		||||
  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