![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 230 Pomógł: 3 Dołączył: 8.01.2008 Ostrzeżenie: (10%) ![]() ![]() |
Skopiowałem kropka w kropke przykład W3C: http://www.w3.org/TR/SVG/struct.html , http://www.w3.org/TR/SVG/images/struct/Use03.svg :
Kod <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg width="10cm" height="3cm" viewBox="0 0 100 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <desc>Example Use03 - 'use' with a 'transform' attribute</desc> <defs> <rect id="MyRect" x="0" y="0" width="60" height="10"/> </defs> <rect x=".1" y=".1" width="99.8" height="29.8" fill="none" stroke="blue" stroke-width=".2" /> <use xlink:href="#MyRect" transform="translate(20,2.5) rotate(10)" /> </svg> U mnie tak to się wyświetla: http://83.10.3.32/swos/Use03.svg (na localhoście), do tworzenia serwera używam xamppa, pod ubuntu. Nawet hamsko skopiowałem z tego tutoriala W3C ten obrazek - nadal wyświetla się tylko kod XML. Wiecie może dlaczego tak się dzieje? Ten post edytował Apocalyptiq 23.12.2008, 12:21:38 -------------------- http://estender.net - profesjonalne strony i aplikacje internetowe (Ruby on Rails, Kohana PHP)
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 15:32 |