.. _xml_example: App XML ******* Each app must be accompanied by an XML file defining its basic information and its inputs. This XML file can be used by a UI or another plugin to help format inputs. The tag is the base. Next, ````, ```` and ```` describe the name of the plugin to display, a description of what it does, and the location of the actual executable file, if necessary. For example .. code-block:: xml Test Plugin TestPlugin/trunk/TestPlugin.py Check for the existance of a network in hydra Written by Stephen Knox stephen.knox--at--manchester.ac.uk (c) Copyright 2013, University College London. For more information visit www.hydraplatform.com ... Immediately after this, the app's inputs are defined. There are three category of input: ````, ```` and ```` .. code-block:: xml network_name -t N string The name of the network you are creating num_nodes -n N integer The number of nodes to create in the network scenario_name -s N string The name of the scenario to create. If none is specified, a default is used. -d include-data If you want data in your network, use this switch. Within each category there is an ````, inside which is defined a ````, command line ````, whether ```` inputs can be expected, what type input can be expected and a help string to describe what it is.