1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<xsl:stylesheet version="1.0" xmlns:wmc="http://www.opengis.net/context" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" >
|
3
|
|
4
|
<!--
|
5
|
Description: Prototype stylesheet to automatically generate a form from an XML doc.
|
6
|
Author: Mike Adair
|
7
|
Licence: LGPL as per: http://www.gnu.org/copyleft/lesser.html
|
8
|
|
9
|
XmlForm.xsl,v 1.1 2004/06/28 03:46:49 madair1 Exp
|
10
|
-->
|
11
|
|
12
|
<xsl:output method="xml" encoding="utf-8" omit-xml-declaration="yes"/>
|
13
|
|
14
|
<!-- The common params set for all widgets -->
|
15
|
<xsl:param name="modelId"/>
|
16
|
<xsl:param name="widgetId"/>
|
17
|
|
18
|
<!-- The name of the form for coordinate output -->
|
19
|
|
20
|
<!-- Main html -->
|
21
|
<xsl:template match="/">
|
22
|
<div>
|
23
|
<h2>How to use this page</h2>
|
24
|
<ol>
|
25
|
<li>Start by selecting a map to use as your base map from the "Reference maps"</li>
|
26
|
<li>Search for WMS layers either from the seacrh form or by browsing a list of WMS servers in the "Search for data" menu</li>
|
27
|
<li>Add in layers of interest to your map</li>
|
28
|
<li>Add/remove/reorder layers using the "Layer control" tool in the "Edit Map Metadata" menu</li>
|
29
|
<li>Finally, when the map is ready to be saved, click on the"save" icon on the left side of the map.
|
30
|
This will save the map as a Web Map Context document which can be used in other applications.</li>
|
31
|
</ol>
|
32
|
</div>
|
33
|
</xsl:template>
|
34
|
|
35
|
<xsl:template match="text()|@*"/>
|
36
|
|
37
|
</xsl:stylesheet>
|