Template:XML element: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
m (Protected "Template:XML entry" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
No edit summary |
||
Line 18: | Line 18: | ||
==Code== | ==Code== | ||
Attribute | |||
<pre> | <pre> | ||
{{XML entry | {{XML entry | ||
| type = | | type = Attribute | ||
| name = | |||
| info = | |||
| version = | |||
| attributes = | |||
| children = | |||
| used_by = | |||
| example = | |||
}} | |||
</pre> | |||
Element | |||
<pre> | |||
{{XML entry | |||
| type = Element | |||
| name = | | name = | ||
| info = | | info = |
Revision as of 21:41, 20 August 2015
Code
Attribute
{{XML entry | type = Attribute | name = | info = | version = | attributes = | children = | used_by = | example = }}
Element
{{XML entry | type = Element | name = | info = | version = | attributes = | children = | used_by = | example = }}
Example
As an example, the following:
{{XML entry | type = Element | name = arc_att | info = Used to specify what attributes should be used for the arcs of a coverage. | version = 2 | attributes = none | children = [[SMS:Dynamic Model Interface Schema#Element <menu_item>|menu_item]], [[SMS:Dynamic Model Interface Schema#Element <snap>|snap]] | used_by = [[SMS:Dynamic Model Interface Schema#Element <declare_coverage>|declare_coverage]] | example = }}
produces this:
<arc_att> | |
---|---|
Info: | Used to specify what attributes should be used for the arcs of a coverage. |
Version(s): | 2 |
Attributes: | none |
Children: | menu_item, snap |
Used by: | declare_coverage |
Example: |