relpipe-in-xml v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Fri, 11 Jan 2019 18:09:50 +0100
branchv_0
changeset 230 ee2f682259c2
parent 229 36e7d81d8740
child 231 ea49ee7a73c9
relpipe-in-xml
relpipe-data/download.xml
relpipe-data/implementation.xml
relpipe-data/specification.xml
--- a/relpipe-data/download.xml	Thu Jan 10 01:47:57 2019 +0100
+++ b/relpipe-data/download.xml	Fri Jan 11 18:09:50 2019 +0100
@@ -16,7 +16,9 @@
 		-->
 		<pre><![CDATA[hg clone https://hg.globalcode.info/relpipe/relpipe-in-cli.cpp;
 hg clone https://hg.globalcode.info/relpipe/relpipe-in-csv.cpp;
+hg clone https://hg.globalcode.info/relpipe/relpipe-in-filesystem.cpp;
 hg clone https://hg.globalcode.info/relpipe/relpipe-in-fstab.cpp;
+hg clone https://hg.globalcode.info/relpipe/relpipe-in-xml.cpp;
 hg clone https://hg.globalcode.info/relpipe/relpipe-lib-cli.cpp;
 hg clone https://hg.globalcode.info/relpipe/relpipe-lib-protocol.cpp;
 hg clone https://hg.globalcode.info/relpipe/relpipe-lib-reader.cpp;
--- a/relpipe-data/implementation.xml	Thu Jan 10 01:47:57 2019 +0100
+++ b/relpipe-data/implementation.xml	Fri Jan 11 18:09:50 2019 +0100
@@ -16,7 +16,9 @@
 			name	type	subtype	language	license
 			relpipe-in-cli.cpp	executable	input	c++	GNU GPLv3+
 			relpipe-in-csv.cpp	executable	input	c++	GNU GPLv3+
+			relpipe-in-filesystem.cpp	executable	input	c++	GNU GPLv3+
 			relpipe-in-fstab.cpp	executable	input	c++	GNU GPLv3+
+			relpipe-in-xml.cpp	executable	input	c++	GNU GPLv3+
 			relpipe-lib-cli.cpp	library	header-only	c++	GNU GPLv3+
 			relpipe-lib-protocol.cpp	library	header-only	c++	GNU LGPLv3+ or GPLv2+
 			relpipe-lib-reader.cpp	library	shared	c++	GNU LGPLv3+ or GPLv2+
--- a/relpipe-data/specification.xml	Thu Jan 10 01:47:57 2019 +0100
+++ b/relpipe-data/specification.xml	Fri Jan 11 18:09:50 2019 +0100
@@ -110,6 +110,25 @@
 			If executed with STDIN attached to a file or another command (in a pipe), it reads data from this stream.
 		</p>
 		
+		<h3>relpipe-in-xml</h3>
+		
+		<p>
+			A tool that reads XML data in the format generated by <code>relpipe-out-xml</code>
+			and converts it back to the relational format.
+			Can be used together with XSLT procesor XQuery engine or other XML generator in two basic scenarios:
+		</p>
+				
+		<ul>
+			<li>as an input filter: to convert other formats to relational data</li>
+			<li>as a transformation: in pipeline: <code>relpipe-out-xml | some-xml-processor | relpipe-in-xml</code></li>
+		</ul>
+		
+		<p>
+			XQuery is very powerful language that can do various transformations, filtering and even JOIN and UNION operations.
+			So its power is comparable to relational databases.
+			In future <m:name/> releases, there will be also an SQL transformation tool, where these operations will be defined in classic SQL syntax.
+		</p>
+		
 		<h3>relpipe-out-tabular</h3>
 		
 		<p>