Home Evaluation Summary for programmers Product limitations Goals of Axisbase Quick start Installation Using the launchpad and opening databases Connecting to a sample database Using building blocks Planning Define the purpose Define the requirements Borrow existing work Determine the architecture Design the data model Design the process model Deploy and maintain the product
building blocksPerforming a mailmerge Bulk e-mailing
ProgrammingSingle-threaded progress indicator in c#
Database menu itemsImport XML Save Copy As Integrity Check Change Password
Database Properties windowOpening the database properties window Record types tab Display types tab Roles and Users tabs Sidebar tab Database ID/Links tab Counters tab
Building blocksBuilding blocks window Editing grids and cells Hyperlinks and nesting Data Subset window Data Outsource window List window Window window Report window Bulk Operation window Label Printer window Choosing a data source
Special topicsExpression syntax Browse records Storing building blocks within other building blocks Programming Using custom code in building blocks Using Axisbase as an embedded database Axis1.Util namespace reference Axis1.Data namespace reference (Fishnets) Axis1.Data namespace reference (other) Axis1.Forms namespace reference
XML is a standard file format for structured data. You can import import records, record types, display types, and building blocks from XML files.
The Import XML command on the Database menu is used to import XML in Axisbase format. If you have XML in another format, you can create a Data Outsource to load it.
Sources of XML data
You can create the XML files from Axisbase:
You can also create XML from an external system. Generally this involves coding or scripting in order to match the format expected by Axisbase.
You can also combine XML files created by Axisbase and/or other systems in Notepad into one file, if you are careful to preserve the XML format. In particular, there must be exactly one <axisbase1> tag at the top, and one closing tag </axisbase1> at the bottom. This is useful if you want to distribute a complete sample database in text format.
XML format - general
The outer document tag is <axisbase1 />. See the following sections for a description of the possible contents inside the axisbase1 tag.
A Document type definition file (DTD) is on the work list but has not been published yet.
XML format for records
The XML format for records is <Record RecordType=AXISID.recordtype><property>value…
<Record RecordType=SATURN.person><name>Jim Baca</name><favcolor>red</favcolor></Record>
References may be included in one of three ways
<customer ReferenceParent="true" /> - sets the reference field to the key of the parent
<customer>123</customer> - sets customer to a known key value
<customer ReferenceField="custid">0803-0003</customer> - sets customer to the one whose custid=0803-0003
When Axisbase exports records, it uses these rules:
Importing Record types
If the XML contains record types, you are given a choice of which database to import to or whether to import each type.