Simply outputs an XML Header tag.
Statamic's template parser will encode <?
and ?>
because they are PHP tags. Silly XML. This global will get you around that.
{{ xml_header }}
<?xml version="1.0" encoding="utf-8" ?>
xml_header
Simply outputs an XML Header tag.
Statamic's template parser will encode <?
and ?>
because they are PHP tags. Silly XML. This global will get you around that.
{{ xml_header }}
<?xml version="1.0" encoding="utf-8" ?>
Submit improvements, related content, or suggestions through Github.
Betterify this page →