Saturday, 7 October 2017

Loading XML data into the browser

Implicit rules for XML


It requires an encoding defintition in the <xml> statement
To be loaded as a unity, it requires a top-level node - e.g. "catalog" in "books.xml"

The file suffix must be .xml
Re-naming a valid .xml file with a different suffix causes a null object to be returned.



That node

The XML file needs to be suffixed as .xml

The load process for a Belle Poule .cotcot file is currently

Save the .cotcot file into the appropriate /org/<org>/<competition>/[<event>/] folder in CK

How do you do that, when BP is storing locally, and CK is remote?


Copy the .cotcot file, changing its suffix to .xml

Load the .xml into the browser




On save, save as .xml

Copy the .xml file, and rename to <prevFileName>suffix.cotcot

Load into BP




No comments:

Post a Comment