diff -r 846510a73535 -r 8bf13358a50a relpipe-data/examples-in-xmltable-atom.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/examples-in-xmltable-atom.xml Thu Jul 25 22:16:12 2019 +0200 @@ -0,0 +1,45 @@ + + + Reading an Atom feed using XMLTable + converting arbitrary XML into relational data using XMLTable + 02800 + + + +

+ In this exaple we will achieve the same result as in previous one with XQuery + but we will use a different tool – relpipe-in-xmltable. + This approach differs from XQery one in several aspects: +

+ + + +

This is the (shortened) structure of our XML input:

+ + + +

This pipeline will download the XML data and transform it to two relations:

+ + + +

The first one contains individual entries and the second one contains the common header:

+ + + +

+ This example shows how to work with namespaces and how to generate multiple relations from a single XML input. + It also shows that the name of the relation do not have to be a literal but might be derived from the input document. +

+ +

If we add the id attribute to the entries table, we can aggregate entries from various sources and still be able to JOIN them with their metadata.

+ +
+ +