Beef up documentation for multi, virt_db
[metaproxy-moved-to-github.git] / doc / multi.xml
index 1c419eb..e4ec619 100644 (file)
   <para>
    This filter multiplexes packages.
   </para>
- </refsect1>
- <refsect1><title>EXAMPLES</title>
   <para>
-   A typical configuration looks like this:
-   <screen><![CDATA[
-    <filter type="multi">
-    </filter>
-]]>
-   </screen>
+   The multi filter consists of zero or more
+   <literal>&lt;target&gt;</literal> elements.
+   If a target matches a given target specified as CDATA in the
+   target element, the multi filter will route traffic to the route
+   given by the route attribute.
+  </para>
+  <para>
+   A target element is not required for multi-plexing to work.
+   It merely serves as a way to route differently. 
   </para>
   <para>
    If an empty
    but simply ignored (unless every one of the databases is
    unavailable).
   </para>
+ </refsect1>
+ <refsect1><title>EXAMPLES</title>
+  <para>
+   A typical configuration looks like this:
+   <screen><![CDATA[
+    <filter type="multi">
+     <target route="route1">z3950.loc.gov:7090/voyager</target>
+     <target route="route2">bagel.indexdata.dk/gils</target>
+     <target route="other">*</target>
+    </filter>
+]]>
+   </screen>
+  </para>
+
  </refsect1> 
  
  <refsect1><title>SEE ALSO</title>