{!! '<' . '?' . 'xml version="1.0" encoding="UTF-8"?>' . "\n" !!} @if (null != $style) {!! '<' . '?' . 'xml-stylesheet href="' . $style . '" type="text/xsl"?>' . "\n" !!} @endif @foreach ($items as $item) {{ $item['loc'] }} @endforeach