home.social

#xpath — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #xpath, aggregated by home.social.

fetched live
  1. 🔍 #XPath is a full subsystem: typed results, fluent expression and predicate builders, compiled and LRU-cached expressions, variable binding, namespace auto-detection and custom PHP functions callable from XPath

    🧭 XmlCursor offers token-level navigation, in-place editing, structural changes and bookmarks. Schema support includes restriction, extension, sequence/choice/all, xs:any, import/include and nillable elements

  2. TIL: XPath expressions count array elements from 1!

    For whatever reason, array indices are counted from 1 instead of 0 in XPath expressions.

    #TIL #XPath

  3. Another informal XML video chat this THURSDAY for anyone interested (11am EDT, 4pm UK, 5pm i think in CET)

    No charge, duration an hour, DM me for video link.

    #XMLisNotDead #MarkupMonday #XML #XQuery #XPath #XSLT @Schematron #Markup

  4. New mailing list to discuss making an international organisation for XML (IXO??), a new home. The future of declarative markup, perhaps.

    lists.psu.edu/cgi-bin/wa?SUBED

    An upcoming zoom call on 25th September is also open.

    #XML #XMLisNotDead #XSLT #XQuery #XPath #foundation #XML_Foundation #declarativeMarkup

    Discussions started around #Balisage2026 #Balisage this year.

  5. This past thursday we had our first XML user group meeting, an informal exchange of ideas with one formal guest presentation.

    Third thursday of each month, so let’s see if we can make it grow. Contact me for coordinates.

    #XMLisAlive #MarkupMonday #XML #XSLT #XQuery #XSL #XPath #Awesome #BetterThanYouThink

  6. hello fedi hivemind, I am too tired to learn #XPath , can someone tell me whatever I need to put into freshrss to scrape the weekly top photos from here into an #RSS feed eol.jsc.nasa.gov/SearchPhotos/

  7. 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: news.speedata.de/2026/06/03/ve

    Grab a coffee, it is a big one.

    #speedatapublisher #xpath #pdf

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

    github.com/gorhill/uBlock/comm

    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): github.com/gorhill/uBlock/wiki

    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.

    github.com/uBlockOrigin/uAsset

    #uBlockOrigin #xpath

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

    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

  10. 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

  11. 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 …

  12. Just updated the Go based XML processing repositories:

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

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

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

    github.com/speedata/goxslt

    #xml #xpath #xslt

  13. @brucelawson Not CSS, but JavaScript with some #XPath:

    ```js
    Node.prototype.querySelectorText = function (t) {
    return document.evaluate(`.//*[text()='${t}']`, this, null, 9, null)
    .singleNodeValue;
    };
    ```

    Sorry for the "reply guy" kinda answer, but I just had fun recalling how all this works, and maybe it's actually useful for someone. Likely not a good idea to spam the `Node` prototype in production, though.

  14. This isn't just about our course. It's about keeping XML/TEI processing education alive at DHSI. We need MORE of these courses, not fewer!
    Please boost, share with your networks, consider enrolling!
    #XSLT #XPath #XQuery #Schematron #DHSI2026 #XMLProcessing #ScholarlyCoding
    🧵3/3

  15. Instead of working something productive, I have been fighting with and its (scraping) feature to make a working blog feed.

    After some back and forth with documentation and , I finally have a working version.

    Still blown away that they have terminated the feeds (especially for the blog site), and glad that 1.20 version has introduced this possibility with no need to depend on other public or services.

    Powered via @rizzi 🤘🏻

  16. XQuery & XPath users, watch out - i spent a day debugging!

    Turns out in BaseX & i think XPath 4 (upcoming), `else` clauses are optional.

    This is unexpected in an expression language -

    `let $name := if ($p) then get-name($p)
    return some-func($name)`

    is the same as

    `let $name := if ($p) then get-name($p) else ( )
    return some-func($name)`

    but in a multi-screen if/then/else it’s more likely you just forgot the else() or mismatched some parens.

    #xquery #MarkupMonday #basex #xpath #xslt4

  17. Ah, #wxpath, because using #XPath was just too easy before 🙄. Now with extra layers of #complexity, just in case you weren't already confused enough by web crawling! 🕸️😵‍💫
    github.com/rodricios/wxpath #webcrawling #technews #developerhumor #HackerNews #ngated

  18. Nouvelle mouture du moteur de recherche. Abandon du Dom pour xPath, plus rapide, et qui permet d'inclure les mots clefs associés des rubriques et des territoires, pratique pour par exemple lister tous les flux RSS d'un département (avec majuscule «Pyrénées-Orientales») ou ceux d'un thème qui ne possède pas sa page dédiée, comme le théâtre (sans accent «theatre»).

    #rss #opml #syndication #agrégateur #atlasdesflux #veille #xml #xpath

  19. Work continues on XPath 4, XQuery 4, XSLT 4 - see qt4cg.org/ - but the focus has shifted to “getting it finished”i think. Although i wasn’t able to be as active as i wanted (and had a meeting conflict) i did write some proposals, some accepted and some not.

    If you have concerns, now is teh time to voice them. Or sooner 🙂

    #markupMonday #XML #XSLT #XSLT4 #XQuery #XQuery4 #XPath #XPath4

  20. 2nd update: I also figured out how to apply the new-ish JSON transformations of #XSLT 3 and #XPath 3.1 to parse the encapsulated #MarcXML

  21. »Older Tech In The Browser Stack«
    smashingmagazine.com/2025/11/o

    Man stelle sich vor, wie produktiv eine Browser-Implementierung von #XPath 3.1 sein könnte.

  22. Older Tech In The Browser Stack: smashingmagazine.com/2025/11/o. Essentially a decent "#XPath by examples" tutorial after a mostly unrelated introductory paragraph.

  23. Получить цены акций, фондов и ОФЗ в Google Sheets

    Привет, Хабр! Изучая информацию по работе с API в таблицах Google/Excel, понял лишь то, что я ничего не понимаю, разбираться в xpath, в парсинге XML внутри формулы это всё, как-то очень тяжело и громостко. У меня была простая задача, разработать что бы то ни было для получения текущей цены по конкретному активу с Мосбиржи. И как мне кажется, у меня это получилось в дотаточной степени чтобы можно было получить информацию и далее, как-то её агригировать, как вам удобно. Также сразу поясню, что функция GOOGLEFINANCE больше не работает, по этому остается искать другие пути решения.

    habr.com/ru/articles/964722/

    #api #GoogleТаблицы #excel #xpath #json #мосбиржа #appsscript

  24. When all hope seems lost, never forget: uBlockOrigin supports XPath.

    ```
    github.com##:xpath(//div[contains(text(), "Mention @copilot")]/..)
    ```

    #UBlockOrigin #XPath #Copilot

  25. @webstandards_dev There would be more usage when browsers support #XSLT 3.0 + #XPath 3.1.

  26. Did you know #XPath 3 (2016) is a Turing-complete functional and declarative language? As are #XSLT 3 (which uses XPath and #XQuery which extends it). And #XProc 3 is a data flow language that also uses XPath.

    These are widely used, powerful, efficient, and super pointy.

    #XMLisUseful #markupMonday

  27. @rauschma My favourite POI episode title is / (Root Path) S3E17. Use it with a picture of Root on my XSLT slides. 🙃

    <xsl:template match="/">
    <!-- … -->
    </xsl:template>

    #POI #XSLT #XPath

  28. CW: re: tech nonsense, re: XML

    @elilla en utilisant des technologies XML, cela devrait bien aller ! ;) #XPath #XSLT #XQuery

Share on Mastodon

Enter the server where you have an account.