Versions Compared

Key

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


Filename:ファイル名:Item list.xfd

Levelレベル:

Beginner
XML from report:レポートのXML:

Other export -> FF&E Catalog XML export

  • Include FF&E items
  • Include FF&E cost
  • With sub FF&E
XML sample file:XMLサンプルファイル:xml/ffe_with_cost.xml
Key concepts主要コンセプト:Table repeat, sum

This report prints out FF&E items in a table. If the item has sub items, this is printed below the parent. The report uses a repeating table row (see 3.6) for each このレポートはFF&Eアイテムをテーブルに印刷します。アイテムにサブアイテムがある場合、これは親の下に印刷されます。レポートは、/drofus-xml/article-container/article. Inside the name column there is a repeating section for sub-article-list/sub-article that will list the sub items.
At the bottom we use the sum function to sum the cost for all items. The XPATH expression for this is:ごとに、
繰り返しのテーブル行 (3.6を参照) を使用します。名前列 (column)の中には、サブアイテムの一覧を表示するサブ物品リスト/サブ物品の繰り返しセクションがあります。
下には、sum関数を使ってすべてのアイテムのコストを合計します。これに対するXPATH式は:

sum(/drofus-xml/article-container/article/cost/price/net/excluding-vat/)

...