Skip to content
distobj edited this page Oct 3, 2011 · 1 revision

These definitely stretch the document model in a somewhat unnatural way. What's implemented for Geo is to include input parameter values inline in the document's head as meta content. This obviously wouldn't work well with documents requiring an ExplicitRefresh since the DOM is disposable (obliterated when refreshed).

For APIs with a small selection of possible input parameters and values, other options include;

  • using a hierarchy of Document objects instead of just one, where the "root" document uses default parameter values
  • including the results in the Document object for each of the possible parameter values (could get expensive though, and would require a very limited set of parameters/values)

Clone this wiki locally