Home

Downloads

FAQs

Sample Book

Features

Forum

 

XML

XML files are used to control the configuration of pageflip. If you are unfamiliar with XML here's a little thingy to help you avoid pain.

XML nodes may appear like this:-

<tagname [attribute=value pairs] />

NOTE the /> to terminate the entry - leave it out and your pages.xml or audioTracks.xml files will not load. pagflip may sit in a loop retrying. Here's a simple example for a page:-

<page src="path to source" />

When you want to add child nodes you need to open up the parent node like this:-

<page src="path to source">

child nodes go here

</page>

Example:-

<page src="path to source">

<hotspot X="10" Y="20" W="100" H="45" ..... />

</page>