<?xml version="1.0" encoding="UTF-8"?>
<section version="5.0" xml:id="deployment-plan-element-attribute"
         xml:lang="en" xmlns="http://docbook.org/ns/docbook"
         xmlns:xlink="http://www.w3.org/1999/xlink"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:svg="http://www.w3.org/2000/svg"
         xmlns:mml="http://www.w3.org/1998/Math/MathML"
         xmlns:html="http://www.w3.org/1999/xhtml"
         xmlns:db="http://docbook.org/ns/docbook">
  <title>Information that can be provided as element or attribute</title>

  <para>Some information can be specified either as XML element or XML
  attribute. For example: <example xml:id="example-id-as-attribute">
      <title>id as attribute</title>

      <literallayout language="xml">  &lt;deployment id="deployment-1"&gt;
      ...
  &lt;/deployment&gt;</literallayout>
    </example> is the same as <example xml:id="example-id-as-element">
      <title>id as element</title>

      <literallayout language="xml">  &lt;deployment&gt;
    &lt;id&gt;deployment-1&lt;/id&gt;
    ...
  &lt;/deployment&gt;</literallayout>
    </example></para>

  <para>It is the case for : <itemizedlist>
      <listitem>
        <para><varname>id</varname></para>
      </listitem>

      <listitem>
        <para><varname>repository-ref</varname></para>
      </listitem>

      <listitem>
        <para><varname>reloadable</varname></para>
      </listitem>

      <listitem>
        <para><varname>start</varname></para>
      </listitem>

      <listitem>
        <para><varname>reference</varname></para>
      </listitem>

      <listitem>
        <para><varname>startlevel</varname></para>
      </listitem>

      <listitem>
        <para><varname>starttransient</varname></para>
      </listitem>
    </itemizedlist></para>
</section>
