Utility Functions and C Language Reference > Utility Functions: Java (lr.) > Alphabetical Listing > lr.read_xml

lr.read_xml

Returns the contents of an XML file as a string.

Your cannot use standard parameterization with this function.

Java Language

String.lr.read_xml( String file_name);
Example: lr.read_xml String and Parameter Functions

Arguments

Name Comments
file_name The file to read and return as a string. The file must exist in the data\SerializedObjects directory under the script directory.

The lr.read_xml function returns the contents of the specified file as a String. If the call fails, it returns null.