Difference between revisions of "LavishGUI:Navigation XML Files"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
== Examples ==
 
== Examples ==
 
=== Example 1 ===
 
=== Example 1 ===
;Exporting - This will export all of your current LavishNav data to a file called test.xml in the current directory.
+
;Exporting
 +
; This will export all of your current LavishNav data to a file called test.xml in the current directory.
 
  LavishNav:Export(test.xml)
 
  LavishNav:Export(test.xml)
;Importing - This will import test.xml in the current directory into your LavishNav tree.
+
;Importing
 +
; This will import test.xml in the current directory into your LavishNav tree.  
 
  LavishNav:Import(test.xml)
 
  LavishNav:Import(test.xml)
  

Revision as of 12:35, 22 March 2006

Introduction

What is a LavishNav XML file?

A LavishNav XML file is a LavishNav tree stored in an XML file. Basically, it's a way to store all of your navigation data.

LavishNav XML files may be generated and loaded using the LavishNav:Export() and LavishNav:Import() commands.

LavishNav XML File Characteristics

LavishNav XML files use XML.

Examples

Example 1

Exporting
; This will export all of your current LavishNav data to a file called test.xml in the current directory.
LavishNav:Export(test.xml)
Importing
; This will import test.xml in the current directory into your LavishNav tree. 
LavishNav:Import(test.xml)

See Also