# Syntax
The contents of a file in XML or JSON format can be loaded into a named clipboard using the syntax:
```
local load results clipboard <NAME> from "<DIRECTORY-OR-FILE-NAME>" format (xml|json)
```
Invantive Script automatically determines whether a file has compressed or uncompressed contents. When compressed, the content is automatically uncompressed. The clipboard contents can be processed further using [[Save Clipboard]] or [[Load Clipboard to Table]]. Alternatively, the clipboard can also be loaded using [[Memorize on Clipboard]].
# Examples
Load an uncompressed data set in JSON format:
```
local load results clipboard DATA from "c:\temp\data.json" format json
```
Load a compressed data set in XML format:
```
local load results clipboard DATA from "c:\temp\data.xml.gz" format xml
```