W3C home > Mailing lists > Public > www-svg@w3.org > January 2013

SVG primer document error

From: Paul Ostrowski <postrowski@apriva.com>
Date: Wed, 30 Jan 2013 15:03:26 -0700
To: "public-svg-ig@w3.org" <public-svg-ig@w3.org>, "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <B096CFD34CBCD749BC0ECE00CD2487321BF399D669@EXCHANGE04.apriva.com>
First, I have to say that I really love the SVG primer document you wrote! It's pure gold!
However, while going through it, I ran into an issue: In your examples of how to use the <use> tag, you aren't putting the hash character everywhere its needed, and as a result, the first several examples of using the <use> tag don't work. It took me a little while to figure out what was needed to correct it.
i.e.:
<use xlink:href="G" transform="translate(120,0)" fill="#bbb">
Should be:
<use xlink:href="#G" transform="translate(120,0)" fill="#bbb">

Same changes here:
<g stroke="black" stroke-width="2" fill="none" >
  <ellipse id="g1" cx="100" cy="100" rx="75" ry="40" />
  <use xlink:href="#g1" transform="rotate(30 100 100)"/>
  <use xlink:href="#g1" transform="rotate(60 100 100)"/>
</g>


Keep up the great work!

Paul Ostrowski
Received on Wednesday, 30 January 2013 23:37:32 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:54 GMT