
152 Chapter 3
•
•
•
•
Parameters
This function accepts an XML filename as its only parameter. By default, MediaRich saves
XMLDocument files in the write file system which point to the following directory:
MediaRich/Shared/Originals/Media
NOTE: You can modify the MediaRich server’s local.properties file to change the default
Media directory. See “File Systems” on page 14 for more information.
MediaRich also allows you to set up virtual file systems and then save files to that location.
Virtual file systems are defined in the MediaRich server’s local.properties file. For
example, if you define “XML:” to represent the path “C:/010102/XML/” in the
local.properties file, you can use files from the XML directory with the save()
function:
XMLDoc.save("XML:/customersUS.xml");
The System Object
The System object provides access to system information and implements the following
methods:
fontExists()
Returns true if a font with the specified name exists. It takes the font name as its only
parameter.
getFontList()
Returns an array containing the names of all fonts known by the system.