Template:Tree

From railML 3 Wiki
Jump to navigation Jump to search

Usage

Creates Tags without parent; for use in Dev:XMLtree

Arguments

This template has three arguments:

  • obligatory
    • 1: the subschema
    • 2: the element name
  • optional
    • attr: an attribute. If this argument is used, the link will lead directly to a certain attribute of the target element

Example

{{tree|IS|name|balise}}

produces

<name>

{{tree|IS|name|balise|@=name}}

produces

<name>@name