Version 5.6 of the speedata Publisher is out! About 100 days of work since the last stable, 25 patch releases in between, and a lot of new stuff.

XPath now does arrays and maps, variable fonts work, tables got a few nice things (colspan="*", row colors that don't drift across pages), there is a progress bar, placeholder images, and a bunch more.

Long writeup here: https://news.speedata.de/2026/06/03/version-5_6_released/

Grab a coffee, it is a big one.

#speedatapublisher #xpath #pdf

Version 5.6 released

Version 5.6 of the speedata Publisher is out. The last stable release (5.4) was at the end of February, so it has been about 100 days of work, 25 small patch releases in between, and quite a few new things. Get a coffee, there is a lot in this one.

uBlock Origin's trusted-click-element now supports xpath.

https://github.com/gorhill/uBlock/commit/32a4d640fbe1b6f1a3fb6e28a1bef0cc12006b7d

xpath is a method of searching XML and HTML documents.

uBlock Origin also supports using xpath in cosmetic filters (that functionality isn't new, to be clear): https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-filters#subjectxpatharg

Based on the issue report linked in the commit, it seems one of the major advantages is this now allows trusted-click-element to select based on the text content of an element, something not possible with normal CSS selectors.

https://github.com/uBlockOrigin/uAssets/issues/33142

#uBlockOrigin #xpath

Improve `trusted-click-element` scriptlet · gorhill/uBlock@32a4d64

Add support for xpath expressions: if a selector starts with `xpath:`, the selector will instead be used as an xpath expression to find the matching elements. Related discussion: https://github.co...

GitHub

أصدرت Wine 11.10 تحديثًا جديدًا لطبقة التوافق متعددة المنصات، مما يسمح بتشغيل تطبيقات ويندوز على أنظمة لينكس وماك أو إس وبي إس دي. يشمل التحديث تحسينات في ترجمة Direct3D، وإعادة تنفيذ دعم XPath، وتعزيز توافق VBScript، بالإضافة إلى 17 إصلاحًا للأخطاء لمجموعة متنوعة من البرامج والألعاب.

#Wine #Direct3D #XPath

# lit-xapth 文件

因為我太懶得寫文件,這東西又很多動態的 getter alias ,
要用 jsdoc writ 之類的應該很高難度,
就請 gemini 根據原始碼和 test.js 生出文件,
我再修修改改和補一些沒寫到的。

雖然 api 部分是中文,但其他是英文,
英文版 api 則是直接請 gemini 再翻一次,
懶得改了先這樣。

https://git.disroot.org/gholk/lit-xpath

#xpath #jquery #js

lit-xpath

XPath wrapper library as pleasent as jquery

Disroot Forgejo: Brace yourself, merge conflicts ahead.

# lit-xpath

晚餐後花了點時間把想像了一段時間的 JS XPath 函式庫寫出來,主要理念是整合 JS 語法和 xpath 的彈性與強大,使用上又像 jquery 一樣簡便。

```js
xpath.query('//*[id="the-id"]').element // $('#the-id')[0]
// or xpath.element('//*[id="the-id"]')

xpath.string `//form/../@data-type`
xpath.n `count(//form//button)` // number
xpath.ctx(document.body).q `..`.e .nodeName == 'HTML'
```

* 函數呼叫的括號可省
* 類別可以前置
* 方法屬性都有一個字的縮寫

xpath 優勢之一是可以定位到 css 定位不到的屬性,還能回頭往上查詢,再結合簡潔的語法感覺很有發展潛力。

https://git.disroot.org/gholk/lit-xpath

#xpath #jquery #js

lit-xpath

XPath wrapper library as pleasent as jquery

Disroot Forgejo: Brace yourself, merge conflicts ahead.

I have updated the Go-XML suite (a parser, XPath and XSLT) and started the documentation at

https://doc.speedata.de/goxml/

The XSLT processor is still work in progress, 21.8% of the official test suite pass. So all basic stuff will work!

#xslt #xml #xpath #golang

XML is a cheap DSL

"The lesson I took from this is that a universal data representation is worth its weight in gold. There are exactly two options in this category. In most cases you should choose JSON. If you need a DSL though, XML is by far the cheapest one, and the cost-efficiency of building on it will empower your team to spend their innovation budget elsewhere."

https://unplannedobsolescence.com/blog/xml-cheap-dsl/

#data #xml #xpath
XML is a Cheap DSL

Lessons about XML from the open source IRS Tax Withholding Estimator.

Unplanned Obsolescence

I … I think I fell into a hole.

Said hole seems to be #XML + #XSLT shaped.

XSLT’s ability to translate XML into #HTML and / or plain text … is — in a word —AMAZING to me.

Combine #XPath selection and … WOW!

I feel like this is going to be a game changer for some things that I do. Similar to #regularExpressions were 25+ years ago.

The #DNBLab Workshop at #DHd2026 hammers home the continued importance of #XML despite all the nay-sayers. Yes, one can read and parse catalogue data provided through SRU with #Python but one still has to be familiar with #XPath to do anything meaningful.

The pain of MARC fields, tags, and codes remains … on to the MARC manual and the beauty of field 800 …

Just updated the Go based XML processing repositories:

XML DOM loading and accessing:
https://github.com/speedata/goxml

XPATH 2.0 (and a bit of 3.1) accessing:
https://github.com/speedata/goxpath

The new kid on the block (experimental!) a new XSLT 2.0 processor:

https://github.com/speedata/goxslt

#xml #xpath #xslt

GitHub - speedata/goxml: A struct base XML representation for Go

A struct base XML representation for Go. Contribute to speedata/goxml development by creating an account on GitHub.

GitHub