Dynamic Graphics with SVG and XMLC

Have you ever tried making a dynamic graph with an HTML table, manipulating its width, height, and color attributes, wishing you didn't have to resort to such a kludge? There is now a new W3C-standard XML language for generating high-end graphics.

Scalar Vector Graphics (SVG), is a language for generating rich, two-dimensional graphical content. Because it is written in XML, SVG content can be generated from server-side sources of real-time information, such as diagnostics or e-commerce statistics.

SVG supports three types of graphic objects:

  • Vector graphic shapes (for example, path of lines and curves)

  • Images

  • Text

SVG then gives you the capability to manipulate all these objects, changing their attributes color, ...

Get Enhydra XMLC™ Java™ Presentation Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.