|
|
| version 1.1, 2016/11/07 00:02:06 | version 1.2, 2020/12/15 16:41:08 |
|---|---|
| Line 1 | Line 1 |
| Content-Type: text/html | Content-Type: text/html |
| Content-Length: 1080 | Content-Length: 1054 |
| 1. original template: <?xml version="1.0" encoding="UTF-8"?> | 1. original template: <?xml version="1.0" encoding="UTF-8"?> |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
| Line 20 but transform OK as we cache compiled on | Line 20 but transform OK as we cache compiled on |
| transform still OK: test | transform still OK: test |
| 4. new templates are ignored: <?xml version="1.0" encoding="UTF-8"?> | 4. new templates are not ignored: <?xml version="1.0" encoding="UTF-8"?> |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:template match="*">test</xsl:template><xsl:template match="root">works if used before first transform</xsl:template></xsl:stylesheet> | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><xsl:template match="*">test</xsl:template><xsl:template match="root">works</xsl:template></xsl:stylesheet> |
| transform: test | transform: works |