relpipe-data/examples-in-xmltable-libvirt.xml
branchv_0
changeset 264 d39cfc926f95
parent 263 8bf13358a50a
equal deleted inserted replaced
263:8bf13358a50a 264:d39cfc926f95
     9 	<text xmlns="http://www.w3.org/1999/xhtml">
     9 	<text xmlns="http://www.w3.org/1999/xhtml">
    10 		
    10 		
    11 		<p>
    11 		<p>
    12 			<a href="https://libvirt.org/">Libvirt</a> is a popular API/tool for managing virtual machines (KVM/Qemu, LXC etc.) and stores its configuration in XML files.
    12 			<a href="https://libvirt.org/">Libvirt</a> is a popular API/tool for managing virtual machines (KVM/Qemu, LXC etc.) and stores its configuration in XML files.
    13 			Thanks to the tool <code>relpipe-in-xmltable</code> we can get aggregated overview of our virtual machines.
    13 			Thanks to the tool <code>relpipe-in-xmltable</code> we can get aggregated overview of our virtual machines.
    14 			This tool does similar job like the <a href="https://www.postgresql.org/docs/current/functions-xml.html">xmltable</a> function known from SQL.
       
    15 			It uses the <a href="https://www.w3.org/TR/xpath/all/">XPath</a> language for selecting parts of the input XML – one XPath expression points to record nodes
       
    16 			and one or more XPath expressions point to attribute nodes/values relatively to particular record node.
       
    17 			Our tool is able to produce one or more relations from a single XML input.
       
    18 			The input is parsed at once and converted to DOM in memory i.e. no streaming – thus processing of huge XML files requires appropriate amounts of RAM, on the other hand: 
       
    19 			our expression can access whole XML document and pick values not only from currently processed record node.
       
    20 		</p>
    14 		</p>
    21 		
    15 		
    22 		
    16 		
    23 		<p>These XML config files contain lot of information describing given virtual machine:</p>
    17 		<p>These XML config files contain lot of information describing given virtual machine:</p>
    24 		
    18