barefootliam

XSLT is a functional language for manipulating primarily tree-structured data and information, such as you might find in XML or JSON or HTML for example.

Someone recently asked me for an XSLT course that includes XSLT 4; usually i teach XSLT 3, the latest, but 4 is in preparation. It's not quite ready for production use, but if you want to be ahead of the curve the course might go ahead in the next month or two.

DM if interested.

#XSLT #XML #QT4 #XPath #XSLT3 #XPath3 #XSLT4 #XPath4 #XQuery4

Hraban (fiëé visuëlle)

Trying to fix my #ePub workflow.

I’m creating most files from ConTeXt’s XML export using #XSLT.

The #NCX (table of contents) must have consecutively numbered playOrder attributes in navPoint entries; it starts with 2 hardcoded entries and then adds the chapters.

ATM I’m starting with -1 which is not wrong, but some ePub readers don’t like it.

XSL has no counters, and I don’t understand how I could use recursion for this.

Ideas?

↯ Klaatu - Some Brave Apollo ↯

Run #XSLT transform on #XML file in #dotnet #PowerShell

$filedatetime = $( get-date -format 'yyyyMMdd hhmmss ffff' )
$filedate = $filedatetime.substring(0,8)
$myxsltfile = 'xyz.xsl'
$myfilein = 'xyz_' + $filedate + '.rss'
$myfileout = 'xyz_' + $filedate + '.txt'

Write-Output "xyz's RSS feed to Text on " + $filedate

$xslt = New-Object System.Xml.Xsl.XslCompiledTransform;
$xslt.load( $myxsltfile )
$xslt.Transform( $myfilein , $myfileout )

Write-Output " Done."

@spencer @ryno @eriner

Christian Thomas

@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

Jez 🍞🌹

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.

Reilly Spitzfaden (they/them)

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

#RSS #Atom #XML #HTML #CSS #XSL #XSLT #WebDev #IndieWeb #SmallWeb

How to Style an Atom Feed with XSLT

Create a seamless user experience for your Atom or…

Andrew Stiefel
Reilly Spitzfaden (they/them)

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 #HTML #CSS #XSL #XSLT #WebDev #IndieWeb #SmallWeb

Habr

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

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

habr.com/ru/articles/890400/

#nginx #angie #вебсервер #настройка_сервера #листинг_файлов #украшательства #общий_доступ #xml #json #xslt

Стильный современный «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. ✅

#XSLT

Frank Abelbeck

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.

#javascript #aixm #xslt #json

Was ist 0! ? fragt @cspannagel.
scholar.social/@cspannagel/114

#MussManWissen ;)

Immer etwas verstörende Blicke bei den Studis, wenn ich die Fakultätsberechnung als Prototyp der Rekursion in JS oder wie hier in #XSLT zeige.

Mar 03, 2025, 15:24 · · · 0 · 0
G. Ken Holman

Hello, Mastodon!
I’m Ken, an expert in #XML, #XSLT, and declarative publishing technologies, known for my work in global #standardization.
I also volunteer in humanitarian education in Africa and enjoy discussing open-source technology.
I am looking forward to connecting with others in the #FOSS, #Publishing, #JATS, #NISO-STS, #SVG, and #OpenSource world!
#Introduction #WebStandards