http://onionworks.net/2006/imageservice

createRectangle (x : number, y : number, width : number, height : number) : nodeset

This method facilitates the creation of rectangles. The syntax of the method can be seen in the following example.

<xsl:variable name="rectangle" select="is:createRectangle(100,100,50,50)" />

The created rectangle has the position (100,100), a width of 50 pixels and a height of 50 pixels.

The called method returns the following nodeset.

<rectangle width="50" x="100" y="100" height="50" />