<?xml version="1.0"?>
<SLIDESHOW>
  <SLIDE>
    <H1>Welcome to the slide show!</H1>
    <BUTTON xml:link="simple" 
            href="origin().following(1,SLIDE)">
      Next
    </BUTTON>
  </SLIDE>
  <SLIDE>
    <H1>This is the second slide</H1>
    <BUTTON xml:link="simple" 
            href="origin().preceding(1,SLIDE)">
      Previous
    </BUTTON>
    <BUTTON xml:link="simple" 
            href="origin().following(1,SLIDE)">
      Next
    </BUTTON>
  </SLIDE>
  <SLIDE>
    <H1>This is the second slide</H1>
    <BUTTON xml:link="simple" 
            href="origin().preceding(1,SLIDE)">
      Previous
    </BUTTON>
    <BUTTON xml:link="simple" 
           href="origin().following(1,SLIDE)">
      Next
    </BUTTON>
  </SLIDE>
  <SLIDE>
    <H1>This is the third slide</H1>
    <BUTTON xml:link="simple" 
            href="origin().preceding(1,SLIDE)">
      Previous
    </BUTTON>
    <BUTTON xml:link="simple" 
            href="origin().following(1,SLIDE)">
      Next
    </BUTTON>
  </SLIDE>
  ...
  <SLIDE>
    <H1>This is the last slide</H1>
    <BUTTON xml:link="simple" 
            href="origin().preceding(1,SLIDE)">
      Previous
    </BUTTON>
  </SLIDE>

</SLIDESHOW>
