10 526 336

Maps with XForms

Steven Pemberton, CWI

NEXT

This is an extended tutorial introduction to XForms, building a maps application. Each page of the tutorial is itself an XForms application, so all the examples are live. To see the details of any part of the examples, you can just do a [Show source].

In XForms you can put the URL of an image in your data:

     <instance>
        <data xmlns="">
           <url>http://tile.openstreetmap.org/10/526/336.png</url>
        </data>
     </instance>
and output it with
    <output ref="url"/>
like this: and display the image with
    <output ref="url" mediatype="image/*" />
like this: