{{ define "title" }}{{ with .Params.seoTitle }}{{ . }} | {{ $.Site.Title }}{{ else }}{{ .Title }} in XSLT — what it does, with examples you can run | {{ .Site.Title }}{{ end }}{{ end }}
{{ define "main" }}
XSLT Reference
{{ .Title }}
{{ with .Params.versionLabel }}
{{ $verUrl := "https://xsltplayground.com/" }}
{{ if eq . "XSLT 2.0" }}{{ $verUrl = "https://xsltplayground.com/xslt-2-0/" }}{{ end }}
{{ if eq . "XSLT 3.0" }}{{ $verUrl = "https://xsltplayground.com/xslt-3-0/" }}{{ end }}
{{ . }}
{{ end }}
{{ with .Params.category }}{{ . }}{{ end }}
{{ with .Description }}
{{ . }}
{{ end }}
{{ with .Params.syntax }}
Syntax
{{ . }}
{{ end }}
{{ partial "adsense/in-article.html" . }}
{{ .Content }}
{{- if and .Site.Params.ethicalads.publisher (ne hugo.Environment "development") -}}
{{- end }}
{{ if .Params.tryUrl }}
{{- /* The playground runs inline in an iframe, but only once the reader asks
for it: embedding it eagerly on 230 reference pages would load the
whole editor bundle on every page view and wreck the LCP work. */ -}}
Open in the full editor →
{{ else }}
Try it in XSLT Playground →
{{ end }}