mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

9.2K
active users

#xslt

0 posts0 participants0 posts today

@emchateau thanks for the hint to David J. Birnbaum's collection!

Funny coincidence, I am just on my way to what will surely be a wonderful and productive workshop on #Collation and #Visualisation (lorentzcenter.nl/seeing-the-di), and am reading (and can recommend) a #Balisage paper by said D. Birnbaum & Ronald Dekker in preparation: doi.org/10.4242/BalisageVol29.

I will check out the #XSLT learning resources you mentioned and the ones other might still mention during the week, thanks again!

CC @petrichor

I have been doing #XML stuff this week, specifically #TEI. I know a lot of people don't really like #XSLT, but it reminded me that when you're working with something that's not just structured data but a stream of text where some or all of the markup is part of the flow then that hybrid imperative/declarative model works really well for representing the full range of transformations you might want to make.

Would be interested to know if there are good modern alternatives.

Continued thread

I hadn't heard of it before, but it turns out there's a style format called XSLT that allows the browser to translate an XML file into HTML with CSS styling for display purposes.

Since my feed is Atom rather than RSS, I had a bit of trouble, but this post was helpful:

andrewstiefel.com/style-atom-x

Andrew Stiefel · How to Style an Atom Feed with XSLT
More from Andrew Stiefel
#RSS#Atom#XML

I figured out how to get my RSS feed to be human-readable and nice-looking!

I'd been wanting to do this to give people who aren't familiar with RSS an easier on-ramp to the stuff I care about.

I figure if someone new to RSS clicks on the link and just gets raw XML, they might think something is “broken” and not stick around, but now there's something human-readable and with instructions on how to follow it in a reader.

reillyspitzfaden.com/feed.xml

#RSS#Atom#XML

Стильный современный «autoindex» в Angie/nginx без sms и сторонних модулей

Авто‑индекс — это функциональность HTTP‑сервера, позволяющая при обращении к каталогу на файловой системе автоматически выводить список содержащихся в нем файлов. Поводом для этой статьи стал вопрос из нашего Telegram‑чата поддержки (присоединяйтесь — он открыт для всех!): «Почему в репозиториях Angie среди множества сторонних модулей отсутствует Nginx Fancy Index?». Меня удивило, что кто‑то пользуется устаревшим модулем, поскольку ещё в 2014 году я добавил во встроенный в nginx модуль «autoindex» поддержку форматов JSON и XML , что делает сторонние решения избыточными. Для чего понадобился сторонний модуль, упомянутый в вопросе, — вполне понятно, ведь внешний вид страницы со списком файлов по умолчанию выглядит весьма аскетично, поэтому хочется его разукрасить и улучшить. А как это сделать элегантно и просто без дополнительных модулей, я продемонстрирую наглядно на готовых примерах.

habr.com/ru/articles/890400/

ХабрСтильный современный «autoindex» в Angie/nginx без sms и сторонних модулейАвто‑индекс  — это функциональность HTTP‑сервера, позволяющая при обращении к каталогу на файловой системе автоматически выводить список содержащихся в нем файлов. Поводом...

Neue Lizenz von #Saxon-EE ist soweit erfreulich, macht aber auch Arbeit.

Es müssen die für Saxon-JS 2 / 3 erstellten Kompilate neu erzeugt werden, denn die darauf beruhenden Anwendungen stellen ja zum expiry-Datum ihre Dienste ein.

Zudem muss man sich erinnern, dass Saxon-EE 12.5 bei 2.x ein Problem mit der Prüfsumme hat, jedoch nicht bei 3.0 beta. Also muss ggf. 12.4 angeworfen werden, bis mal 12.6 erscheint. ✅

Finally! My #Javascript planning module can access data from the German electronic AIP.

🙂 💪

Behind the scenes it downloads the current metadata from aip.dfs.de, updates the local AIXM files if necessary, and uses XSLT stylesheets to translate the original XML into JSON-compatible text.

*sigh*

XSLT 1.0 is rather... awkward... unwieldy. And JSON is not forgiving when it comes to control chars and dangling commas. Had to develop JSON building block templates.

My #XSLT sheets for the German AIP #AIXM data are ready. They transform the rather complex AIXM to an intermediate simpler form, allowing retrieval of official aerodrome data (runway dimensions, radio frequencies, supplies, services) and VOR/NDB information.

So far, so fine.

Intermediate form means another bunch of files to check for updates. 🤔

Well, let's modify the XSLT. Either pull lists of aerodromes or navaids, or retrieve data of a specific entity. Global xsl:param ftw!

Continued thread

2/

Ken wanted to teach his grandson the rules of baseball, but found the existing games inadequate. So he designed his own sets. They consist of six layers of birch with elaborate cutouts requiring precise registration as they are glued together. The layers are fabricated on a laser cutter available at his local library and driven by PDF files. Ken has automated the whole design and fabrication process using #XSLT to create #SVG files and shell scripts that make the PDFs for each layer.