Difference between revisions of "LavishGUI:Navigation XML Files"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 9: Line 9:
  
 
== Examples ==
 
== Examples ==
=== Example 1 ===
+
=== Example 1 - Exporting ===
;Exporting
 
 
  ; This will export all of your current LavishNav data to a file called test.xml in the current directory.
 
  ; 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
+
=== Example 2 - Importing===
 
  ; This will import test.xml in the current directory into your LavishNav tree.  
 
  ; 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:36, 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)

Example 2 - Importing

; This will import test.xml in the current directory into your LavishNav tree. 
LavishNav:Import(test.xml)

See Also