Gist 3512137
✓ Published0🌍 Public
VVeronicaM
Last edited Aug 29, 2012
Created on Aug 29, 2012
This example shows an XML Schema fragment defining a `ColorInterpolator` element, a data-viz building block rather than a finished visualization. The code specifies the type’s structure, including an optional nested `xmta:IS` element, and attributes for a floating-point `key` and a color `keyValue`, alongside a `DefUseGroup` attribute group. The rendering approach is not present; instead, the snippet highlights how to declare color-mapping parameters in XSLT, using no external libraries. It documents a reusable interpolation mechanism for mapping numeric values to colors, likely intended for later use in a chart or map.
AI-generated description