Theย XML Fileย item type allows you to upload or link to an XML file and display the data with Ditty. For general information on working with items check out the following articles:
XML File Settings
Select the Gear/Edit icon shown on your XML File item to adjust the settings.

General Settings
Set the general settings of the XML File item.
- Fileย โ Add an XML file. Upload a file or paste an external url to a file.
- Target Nodeย (optional) โ Add the name of the repeating node to use from your xml file. If your file has a complex structure, you may need to specify which node should be used as a repeatable data element.
- Limit – Set the number of items to display. Use 0 to display all.
- Label – Add a custom label to display in the item list.

XML File Layout Settings
Select the Pencil/Brush icon shown on your XML File item to modify the layout for the item. Read more about what Layouts are and how they are used here:ย https://www.metaphorcreations.com/article/ditty/general/using-layouts/

XML File Tags
Layout tags will be dynamically generated based on the contents of your XML file. Since layout tags are based on data contained within the XML file, the Item Settings must be updated after adding a new XML file before the associated Layout Tags are populated correctly.

CSS Selectors
Layout tag CSS selectors will be dynamically generated based on the contents of your XML file. Since layout tags are based on data contained within the XML file, the Item Settings must be updated after adding a new XML file before the associated CSS selectors are populated correctly.
- .ditty-item__elements โ The container wrapping around the itemโs content.

