How to create | edit an XML file on Windows and Mac


What is an XML file?

An XML (Extensible Markup Language) file is a plain text file that is used to store information. XML files are easy to use because they are both machine and human readable. Because they are stored as plain text, they can be created and modified using any text editor or a dedicated XML editor. Because the structure of the data in the XML file is created using tags defined by the file creator, an XML file is infinitely flexible and can be used for many different applications.


Creating an XML file

An XML file must be created in Plain Text. To create and edit one, follow these instructions.

 

Mac – How to create an XML file using TextEdit on a Mac

  1. Open TextEdit
  2. Create your .XML file
  3. Enter the commands as documented in the Syntax Guide
  4. Format it as plain text (TextEdit > Format > Make Plain Text)
  5. Save your file and change the extension to “.XML” (TextEdit > Save)
  6. When it prompts you about the file extension, confirm “Use .XML”

 

Windows – How to create an XML file using Notepad on Windows

  1. Open Microsoft Notepad
  2. Create your .XML file
  3. Enter the commands as documented in the Syntax Guide
  4. Save your file and change the extension to “.xml” (Notepad > Save)

Video Kiosk and XML files

Video Kiosk uses XML files to store configuration data for a variety of Video Kiosk features. If you’re planning on using XML files with Video Kiosk, please by aware of the file naming conventions by Video Kiosk that change the file extension.

To edit the XML file, you need to name it with the file extension “.xml”. To deploy it with Video Kiosk, you need to add the corresponding Video Kiosk file extension to the end of the filename.

Here’s an example:

  1. You create a schedule file for the Video Kiosk at your gym and name it “gym-videoloop-2021.schedule.xml”. You use the “.xml” file extension so your computer knows which app to use to open the file.
  2. Once you’re ready to deploy the file on Video Kiosk, change the filename to “gym-videoloop-2021.schedule” and copy it to your device. You use the “.schedule” file extension so Video Kiosk knows how to use the file.
  3. When you need to makes changes to the schedule file, rename it “gym-videoloop-2021.schedule.xml” and make your changes.
  4. Once you’re ready to deploy the modified file on Video Kiosk, change the filename back to “gym-videoloop-2021.schedule” and copy it to your device.

For more information about the valid syntax for each Video Kiosk XML File, refer to the Video Kiosk Tutorials or the Video Kiosk Users Manual



Did you find this useful? Please leave a comment

Thanks in advance for taking the time to let us know how we're doing.

Leave a Comment