Advertisement
Guest User

Untitled

a guest
Jun 17th, 2014
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.91 KB | None | 0 0
  1. <html xmlns="http://www.w3.org/1999/xhtml"
  2.      xmlns:svg="http://www.w3.org/2000/svg">
  3.   <head>
  4.     <title>Beispiel-Datei mit mehreren Namensräumen</title>
  5.   </head>
  6.   <body>
  7.     <h1>Eine Mathe-Formel:</h1>
  8.     <math xmlns="http://www.w3.org/1998/Math/MathML">
  9.       <mi>x</mi><mo>=</mo><mn>2</mn>
  10.     </math>
  11.     <p>Und noch ein kleines Bild dazu:</p>
  12.     <svg:svg>
  13.       <svg:rect x="0" y="0" width="10" height="10" />
  14.       <svg:text>
  15.         <svg:tspan>Eine Formel in der Grafik:</svg:tspan>
  16.         <svg:tspan>
  17.           <math xmlns="http://www.w3.org/1998/Math/MathML">
  18.             <mi>y</mi><mo>=</mo><mn>1</mn>
  19.           </math>
  20.         </svg:tspan>
  21.       </svg:text>
  22.     </svg:svg>
  23.     <p>Eine SVG Grafik kann auch ohne Präfix verwendet werden:</p>
  24.     <svg xmlns="http://www.w3.org/2000/svg">
  25.       <circle svg:cx="10" svg:cy="10" svg:r="5" svg:fill="red" />
  26.     </svg>
  27.   </body>
  28. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement