hugo/tpl/transform
Paul van Brouwershaven 0eaaa8fee3
Implement XML data support
Example:

```
{{ with resources.Get "https://example.com/rss.xml" | transform.Unmarshal }}
    {{ range .channel.item }}
        <strong>{{ .title | plainify | htmlUnescape }}</strong><br />
        <p>{{ .description | plainify | htmlUnescape }}</p>
        {{ $link := .link | plainify | htmlUnescape }}
        <a href="{{ $link }}">{{ $link }}</a><br />
        <hr>
    {{ end }}
{{ end }}
```

Closes #4470
2021-12-02 17:30:36 +01:00
..
init.go Fix error handling for the time func alias 2021-08-01 13:39:30 +02:00
init_test.go Fix error handling for the time func alias 2021-08-01 13:39:30 +02:00
remarshal.go Add Goldmark as the new default markdown handler 2019-11-23 14:12:24 +01:00
remarshal_test.go Implement XML data support 2021-12-02 17:30:36 +01:00
transform.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
transform_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
unmarshal.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
unmarshal_test.go Implement XML data support 2021-12-02 17:30:36 +01:00