BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in XML

 
 
Page 10458 of 19381

Embedded SVG in Protowidget

Blogger : Ajaxian Blog
All posts : All posts by Ajaxian Blog
Category : XML
Blogged date : 2006 Aug 31

Terrt Laurenzo has posted on Embedded SVG from his experience starting with the SVG example from Mozilla, and adapting Protowidget so that it could attach widgets to some SVG elements.

XML:
  1.  
  2. xmlns="http://www.w3.org/2000/svg"
  3.        version="1.1" width="500" height="500"
  4.        baseProfile="full">
  5.     fill-opacity="0.7" stroke="black" stroke-width="0.1cm">
  6.       cx="6cm" cy="2cm" r="100" fill="red"
  7.                       transform="translate(0,50)"
  8.                       pw:type=’Svg.SvgWidget’
  9.                       pw:element.r=’#{`Jitter1`}/>
  10.       cx="6cm" cy="2cm" r="100" fill="blue"
  11.                       transform="translate(70,150)"
  12.                       pw:type=’Svg.SvgWidget’
  13.                       pw:element.r=’#{`Jitter2`}/>
  14.       cx="6cm" cy="2cm" r="100" fill="green"
  15.                       transform="translate(-70,150)"
  16.                       pw:type=’Svg.SvgWidget’
  17.                       pw:element.r=’#{`Jitter3`}/>
  18.     >
  19. >
  20.  

You can check out the test on an SVG enabled browser


Read comments or post a reply to : Embedded SVG in Protowidget
Page 10458 of 19381

Newest posts
 

    Email TopXML