{{ define "title" }}XSLT & Saxon Error Reference — common errors explained with fixes | {{ .Site.Title }}{{ end }} {{ define "main" }}

Saxon error codes follow the W3C convention: XPST (XPath static), XPDY (XPath dynamic), XPTY (XPath type), XTSE (XSLT static), XTDE (XSLT dynamic), FO* (function library). Parser messages such as "Content is not allowed in prolog" come from the underlying XML parser and mean the input is not well-formed XML. Also see the XSLT & XPath function reference.

{{ $cats := slice }} {{ range .Pages }}{{ with .Params.category }}{{ $cats = $cats | append . }}{{ end }}{{ end }} {{ $cats = uniq $cats | sort }} {{ range $cat := $cats }}

{{ strings.FirstUpper $cat }}s

{{ end }} {{ end }}