home.social

#xpath — Public Fediverse posts

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

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

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

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

  4. @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.

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

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

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

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

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

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

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

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

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

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

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

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

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

  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. Получить цены акций, фондов и ОФЗ в Google Sheets

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

    habr.com/ru/articles/964722/

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

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

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

    habr.com/ru/articles/964722/

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

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

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

    habr.com/ru/articles/964722/

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

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

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

    #UBlockOrigin #XPath #Copilot

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

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

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

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

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

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

  34. @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

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

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

  36. We could actually get pretty close here if #CSS supported #XPath selectors. Something like:

    xpath(//table[@id="filteredtable"]/tr[contains(@data-name,//input[@id="filterinput"/@value)]) { display: table-row }

    would work if the input value attribute was dynamically updated. But even without dynamic update, a selector this complex isn't possible in CSS.

    4/3+

  37. #Balisage = balisage.net/ - seems to be going strong; it’s a conference about the theory behind, and practice of, document markup, especially #XML and related technologies such as #XProc #XSLT #XQuery #Schematron #RelaxNG #XPath #TextEncodingInitiative and many more.

    XML was badly hurt by people applying it to everything in sight, but for what XML was designed for and is good at, there is nothing better.

  38. #Balisage = balisage.net/ - seems to be going strong; it’s a conference about the theory behind, and practice of, document markup, especially #XML and related technologies such as #XProc #XSLT #XQuery #Schematron #RelaxNG #XPath #TextEncodingInitiative and many more.

    XML was badly hurt by people applying it to everything in sight, but for what XML was designed for and is good at, there is nothing better.

  39. #Balisage = balisage.net/ - seems to be going strong; it’s a conference about the theory behind, and practice of, document markup, especially #XML and related technologies such as #XProc #XSLT #XQuery #Schematron #RelaxNG #XPath #TextEncodingInitiative and many more.

    XML was badly hurt by people applying it to everything in sight, but for what XML was designed for and is good at, there is nothing better.

  40. #Balisage = balisage.net/ - seems to be going strong; it’s a conference about the theory behind, and practice of, document markup, especially #XML and related technologies such as #XProc #XSLT #XQuery #Schematron #RelaxNG #XPath #TextEncodingInitiative and many more.

    XML was badly hurt by people applying it to everything in sight, but for what XML was designed for and is good at, there is nothing better.

  41. #Balisage = balisage.net/ - seems to be going strong; it’s a conference about the theory behind, and practice of, document markup, especially #XML and related technologies such as #XProc #XSLT #XQuery #Schematron #RelaxNG #XPath #TextEncodingInitiative and many more.

    XML was badly hurt by people applying it to everything in sight, but for what XML was designed for and is good at, there is nothing better.

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

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

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

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