1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/test/reftest/xml-stylesheet/embedded_dtd_id.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<!DOCTYPE svg:svg [<!ATTLIST transform id ID #IMPLIED>]> 1.5 +<?xml-stylesheet type="application/xml" href="#transform"?> 1.6 +<svg:svg xmlns="http://www.w3.org/1999/XSL/Transform" 1.7 + xmlns:svg="http://www.w3.org/2000/svg"> 1.8 + <svg:defs> 1.9 + <transform id="transform" version="1.0"> 1.10 + <template match="node()|@*"> 1.11 + <copy> 1.12 + <apply-templates select="@*"/> 1.13 + <apply-templates/> 1.14 + </copy> 1.15 + </template> 1.16 + <template match="svg:defs"/> 1.17 + <template match="@fill"> 1.18 + <attribute name="fill">lime</attribute> 1.19 + </template> 1.20 + </transform> 1.21 + </svg:defs> 1.22 + <svg:rect width="100%" height="100%" fill="red"/> 1.23 +</svg:svg>