Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A common use of table is to have one table row for each item in the xml file, e.g. you want one row per room. To create this do one of the following:

...

テーブルの一般的な使い方は、xmlファイルのアイテムごとに1つのテーブル行を持つことです。これを作成するには、次のいずれかを実行します:

  • ナビゲーション バー(3)から各アイテムに 1 行ずつ追加するアイテムをドキュメント(1)にドラッグします。
    次に繰り返しテーブルを選択します。デフォルトの列のフィールドを、選択した列のフィールドに置き換えることができます。
  • "挿入 (Insert)"→"テーブル (Table)"で、1つの行とヘッダー (必要な場合)、必要な数の列 (columns)を持つテーブルを作成します。
    次に、行 (row) (ヘッダーがある場合は2行目) にカーソルを置き、右クリックして "繰り返し行に変換 (Convert to repeating row.)" を選択します。
    次に、繰り返すアイテムを選択します。例えば /drofus-xml/room-container/room to repeat for each room .は各部屋で繰り返します。