Defining the Data Format For XML Channels

How to configure the format of an XML feed in Plytix

In Plytix, you can build out XML feeds without resorting to code. Our XML Channel builder helps you set up feeds for different vendors and partners. In this article, we will show you how to define the data format for XML Channels in Plytix.


XML Channel Format Tab

Default View

Adding Nodes

Node Settings and Configuration

 

⚠️ Please refer to the documentation of the feed consumer to get blueprints on how to build your feed template. Example feeds are super helpful when building out your feeds in Plytix.

XML Channel Format Tab

In this article we are focusing on the "Format" tab of the XML Channel. 

xml channel



Default View 

The standard layout of a newly created XML feed in Plytix has the following items pre-populated:

  • The header (cannot be changed)
  • A products node with a subnode containing all your products and attributes pre-populated based on your settings from the "Attributes" and "Products" tabs.

XML format

On the left you have the feed you can build (1), and on the right is a preview of how your feed looks (2).

 


Adding Nodes

Press the "+ Add Node" button to insert a new node, or click the "Add Subnode" icon, to insert a node nested below the selected node.

add nodes XML

Click the ">" icon to expand or collapse a node. If you have multiple sub-nodes connected to a node on the same hierarchy level, you can drag and drop to change the order of the sub-nodes in that hierarchy level.

 


Node Settings and Configuration

Clicking on the pencil icon on a node opens up the settings panel on the right side of your screen.

Here you can configure your node:

  • Set your "Node tag".
    • Standard tag: <node></node>
    • Self-closing tag: <node />Choose the "Closing tag" you'd like to use. 
    NOTE: Self-closing tags cannot be used for parent tags with a child. 
  • Change the placement of your node by choosing a different parent tag.
  • Add more attributes.
edit xml node

 


What's Next

 

If you have any questions just click on the chat box in the bottom-right corner and we'll be happy to answer them...

 

and please let us know 👇