{!! '<'.'?xml version="1.0" encoding="UTF-8"?'.'>' !!} @foreach($urls as $url) {{ $url['loc'] }}@if($url['lastmod']){{ $url['lastmod'] }}@endif @endforeach