Basic XML usage

The XML file must have a main <slider> node, and for each slide you need to create a <slide> node. Then, inside the <slide> node, you specify the images, captions and inline HTML content. Below you can see a simple example of the required XML structure.

<slider>
    <slide>
        <image>../presentation-assets/images/slides/image1.jpg</image>
        <thumbnail>../presentation-assets/images/thumbnails/image1.jpg</thumbnail>
    </slide>
	
    <slide>
        <image>../presentation-assets/images/slides/image2.jpg</image>
        <thumbnail>../presentation-assets/images/thumbnails/image2.jpg</thumbnail>
    </slide>
	
    <slide>
        <image>../presentation-assets/images/slides/image3.jpg</image>
        <thumbnail>../presentation-assets/images/thumbnails/image3.jpg</thumbnail>
    </slide>
</slider>
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk