Structure of XML Files

In order to execute the application, XPLATFORM Runtime requires many files including the Form file and UX-Studio generates automatically these files and manages.

All of these files are with XML Format. Here, the XML structure which XPLATFORM presents is described.

Notation

The notation used in this chapter is as follows:

notation

description

example / description

#

N times Repetition

<TabFramePages>

<TabFramePage/>#

</TabFramePages>

In TabFramePages, several TabFramePages can come.

##

N times Repetition

or

Recursive repetition

</Frames>

<FrameSet/>##

</Frames>

In Frames, several FrameSets can come and in FrameSet, the sub-Frames can also come.

or

Exclusive Selection

<MainFrame>

<ChildFrame/>

or

<TabFrame/>#

</MainFrame>

In MainFrame, ChildFrame or TabFrame can come. But just only one between these two can come.

ADL XML Format

<ADL>
	<TypeDefinition /> ---- explanation of the separate file
	<GlobalVariables /> --- explanation of the separate file
	<Application></Application>
	<Script><![CDATA[    …}]]></Script>
</ADL>
<Application>
	<Style/>#
	<Layout>
		<MainFrame>
			<ApplicationMenu>
				<Dataset id="innerdataset">
				</Dataset>
			</ApplicationMenu>
			<ChildFrame/>
			or
			<TabFrame/>
			or
			<FrameSet/>##
			or
			<VFrameSet/>##
			or
			<HFrameSet/>##
			or
			<TileFrameSet/>##
		</MainFram>
		<Widget />#
		<Tray>
			<TrayPopupMenuItems>
				<TrayPopupMenuItem>#
			</TrayPopupMenuItems>
		</Tray>
	</Layout>
</Application>
<ChildFrame/> --- There is not any sub-Frames.
<TabFrame>
	<TabFramePages>
		<TabFramePage/>#
	</TabFramePages>
</TabFrame>
<FrameSet>
	<Frames>
		<ChildFrame/>#
		<TabFrame/>##
		<FrameSet/>##
		<VFrameSet/>##
		<HFrameSet/>##
		<TileFrameSet/>##
	</Frames>
</FrameSet>
<VFrameSet>
	<Frames>
		<ChildFrame/>#
		<TabFrame/>##
		<FrameSet/>##
		<VFrameSet/>##
		<HFrameSet/>##
		<TileFrameSet/>##
	</Frames>
</VFrameSet>
<HFrameSet>
	<Frames>
		<ChildFrame/>#
		<TabFrame/>##
		<FrameSet/>##
		<VFrameSet/>##
		<HFrameSet/>##
		<TileFrameSet/>##
	</Frames>
</HFrameSet>
<TileFrameSet>
	<Frames>
		<ChildFrame/>#
		<TabFrame/>##
		<FrameSet/>##
		<VFrameSet/>##
		<HFrameSet/>##
		<TileFrameSet/>##
	</Frames>
</TileFrameSet>

FDL XML Format

<FDL>
	<TypeDefinition/> --- explanation of the separate file
	<Form>
		<Style/>#
		<Bind>
			<BindItem/>#
		</Bind>
		<Objects>
			<!-- Here, Invisible Objects are listed.-->
		</Objects>
		<Layout>
			<!-- Here, Components are listed.-->
		</Layout>
		<Script><![CDATA[ ]]></Script>
	</Form>
</FDL>

Type Definition XML Format

<Typedeintion>
	<Components>
		<Component/>#
	</Components>
	<Services>
		<Service/>#
	</Services>
	<Update>
		<item/>#
	</Update>
</Typedefinition>

Global Variable XML Format

<GlobalVariables>
	<Images>
		<Image/>#
	</Images>
	<Dataset/>#
	<Variable/>#
	<!-- the various Invisible Objects like Animation, Color, Font, etc. -->#
</GlobalVariables>