Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The xml.aspx page has two controls, one of which uses the standard xsl to render the data, and one which uses a custom one which you can use to render the content more in a format more suitable to yourself. This shows how the controls work, but also that you can have more than one control per page.LocalInfo XML ExampleImage Removed

Image Added

JSON

The json.aspx page has two JavaScript scripts on it. The first of which requests a layer (remember, we can’t use a layergroup with JSON yet), and it blindy outputs the council tax data specified in the dataSelector parameter into the control reference that was passed in.

The second script is a little bit more involved, but it allows more control of the output. The dataSelector in this version is actually an anonymous function which you can write and determine how and what planning information should be output.

Image Added

View file
nameastuntech-rss-controls.zip
LocalInfo JSON ExampleImage Removed
height250