Xholon Wikipedia tutorialSVG

Ken Webb 2011-11-20T13:41:02Z

This page is part of a series that explores the many ways in which Xholon and Wikipedia can interact with each other.

SVG

A Xholon app can generate and display SVG content, derived from the model. Or it can display SVG content that resides somewhere on the web, such as in Wikipedia. The Solar System article includes several SVG images, at least two of which can be viewed from Xholon. Xholon uses the SVG Salamander library to do this. Copy and paste, or drag and drop, the following into the View node of the Chameleon app:

<SvgClient>
  <Attribute_String roleName="setup">${MODELNAME_DEFAULT},http://upload.wikimedia.org/wikipedia/commons/d/d9/Oort_cloud_Sedna_orbit.svg</Attribute_String>
</SvgClient>
<SvgClient>
  <Attribute_String roleName="setup">${MODELNAME_DEFAULT},http://upload.wikimedia.org/wikipedia/commons/c/c4/Milky_Way_Spiral_Arm.svg</Attribute_String>
</SvgClient>

return to main page