extend-namespace-02-t

raster image of extend-namespace-02-t

Test mixing a business data namespace with elements in SVG namespace.

The test case uses a different namespace to hold fake sales data. Using ECMAScript to make calls to the DOM, the test case extracts the sales data and then makes calls to the SVG DOM to build up a 'path' element and a 'text' element for each individual pie slice.

The result should show five pie slices. The first pie slice should be exploded, with a pink fill and a blue border. The other pie slices should have various levels of gray fill and black borders. The name of each region should appear in black towards the center of the pie slice.