Wyn Enterprise User Guide

Wyn Enterprise: XML Data Provider

To create a XML data source in Wyn Enterprise, follow these steps.

  1. On the Resource Portal, navigate to Create (+) > Create Data Source.

  2. Select XML in the data source list on the left or in the icon view on the right.

  3. Fill in the database configuration information for the selected data source.

Field Description
Name The name for the data source that you want to specify.
SourceType Select from the list that displays the following options - Local, Web, and Embed.
Data Source When the source type is Local, click Select File to select the local source file.
When the source type is Web, you need to enter the source address of the source, which is usually a URL.
When the source type is Embed, you need to enter or paste the content of the XML file.
XPath Use a path expression to navigate to the Xml document. For details, please refer to https://www.w3schools.com/xml/xpath_syntax.asp
  1. Click Create.

After the successful creation, you can view the added data source in the Categories tab of the Resource Portal.

Note:
Since the data is imported into the system, if you want to refresh the data of the data source, you need to manually edit the data source and import the data again.
If garbled characters appear in a local XML file, save the file in the UTF-8 encoding and upload it again.
Also, if a column with the same name is detected, only the column that appears first is retained, whereas the data from the column with the same name is discarded.