• Resolved Imageviper2000

    (@viper2000)


    After specifying the location of the XML file, the following error appears:

    “Please provide a correct format for the cell.”

    As a result, the data in the XML file cannot be displayed in a table using the wpDataTables plugin.

    Please provide instructions on how to properly display the data from this file on my website.

Viewing 1 replies (of 1 total)
  • Plugin Support ImageMilos TMS

    (@milosjovanovicwpdt)

    Hello,

    As mentioned in our documentation here:
    https://wpdatatables.com/documentation/creating-wpdatatables/creating-wpdatatables-from-xml/

    When working with XML files, please note that wpDataTables currently supports only one specific structure — a single root node containing multiple child nodes (one level deep). Each child node is treated as a row, and its attributes as table cells.

    If your XML file uses a different structure (for example, nested nodes or additional hierarchy levels), wpDataTables won’t be able to read it directly. In that case, you would need to prepare an intermediate format — for example, by using a PHP adapter or script to convert your data into the supported XML or another compatible format like CSV or JSON.

    I hope this helps clarify the cause of the error.

    Kind regards,
    Milos

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.