Hi,
I've recently started using Symphony on my website, and I seem to have got my head round XSLT pretty quick, given that I've never used it before, but I keep hitting one problem: It's returning invalid unclosed meta and link tags in the html.
That's the start of my XSLT, it works okay, but the self closing link tags, are being stripped of the closing forward slash, and the auto-generated meta tag is also mysteriously devoid of a closing tag.
Any help would be appreciated, it's nothing serious, but it's bugging the hell out of me.
I've recently started using Symphony on my website, and I seem to have got my head round XSLT pretty quick, given that I've never used it before, but I keep hitting one problem: It's returning invalid unclosed meta and link tags in the html.
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
omit-xml-declaration="yes"
encoding="UTF-8"
indent="yes" />
<xsl:template match="/">
<html>
<head>
<title><xsl:call-template name="page-title"/></title>
<link rel="icon" type="image/gif" href="{$workspace}/img/favicon.gif" />
<link rel="stylesheet" type="text/css" media="screen" href="{$workspace}/css/styles.css" />
<link rel="alternate" type="application/rss+xml" href="/rss/" />
</head>
Any help would be appreciated, it's nothing serious, but it's bugging the hell out of me.