Incidentally, both filters are done the same way, and equally neatly. I just photographed the one I had to bring into my office, because the seal needed glue.
Looks similar to what I did on my XS2. Replacement paper filters were stupid expensive, so I just trimmed the old paper off of the original filter ( it’s a really stout base with a fully supported wire screen interior ) and I just wrapped it with Uni filter foam and oiled it. Photo doesn’t show it but I secured the foam with very thin aluminum wire wrapped around it in three places.