2014-01-26 | Paul Boddie | raw annotate files changeset graph | Changed the origin of specific namespace defaults in XPath operations, initialising document-specific default namespaces in the document object instead of acquiring such defaults from the module namespace in the xpath method invocation. |
1 <?xml version="1.0" encoding="iso-8859-1"?> 2 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" 3 width="800px" height="600px" viewBox="0 0 800 600"> 4 <g transform="translate(400 300) scale(200 150)"> 5 <rect x="-2" y="-2" width="4" height="4" fill="#000"/> 6 <path d="M -1,-1 L 1,-1 L 1,1 L -1,1 z" stroke="#fff" stroke-width="0.005"/> 7 </g> 8 </svg>