25-21.svg
上传用户:shuxianled
上传日期:2007-01-18
资源大小:6404k
文件大小:2k
- <?xml version="1.0" encoding="utf-8"?>
- <svg xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- width="8in" height="8in">
- <title>Listing 25-21 from the XML Bible</title>
- <defs>
- <rect id="RedSquare"
- width="1in" height="1in"
- style="fill: red"/>
- <rect id="BlackSquare"
- width="1in" height="1in"
- style="fill: black"/>
- <g id="RowA">
- <use x="0in" xlink:href="#RedSquare"/>
- <use x="1in" xlink:href="#BlackSquare"/>
- <use x="2in" xlink:href="#RedSquare"/>
- <use x="3in" xlink:href="#BlackSquare"/>
- <use x="4in" xlink:href="#RedSquare"/>
- <use x="5in" xlink:href="#BlackSquare"/>
- <use x="6in" xlink:href="#RedSquare"/>
- <use x="7in" xlink:href="#BlackSquare"/>
- </g>
- <g id="RowB">
- <use x="0in" xlink:href="#BlackSquare"/>
- <use x="1in" xlink:href="#RedSquare"/>
- <use x="2in" xlink:href="#BlackSquare"/>
- <use x="3in" xlink:href="#RedSquare"/>
- <use x="4in" xlink:href="#BlackSquare"/>
- <use x="5in" xlink:href="#RedSquare"/>
- <use x="6in" xlink:href="#BlackSquare"/>
- <use x="7in" xlink:href="#RedSquare"/>
- </g>
- </defs>
- <use y="0in" xlink:href="#RowA"/>
- <use y="1in" xlink:href="#RowB"/>
- <use y="2in" xlink:href="#RowA"/>
- <use y="3in" xlink:href="#RowB"/>
- <use y="4in" xlink:href="#RowA"/>
- <use y="5in" xlink:href="#RowB"/>
- <use y="6in" xlink:href="#RowA"/>
- <use y="7in" xlink:href="#RowB"/>
- </svg>