#xpath — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #xpath, aggregated by home.social.
-
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!
-
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/goxmlXPATH 2.0 (and a bit of 3.1) accessing:
https://github.com/speedata/goxpathThe new kid on the block (experimental!) a new XSLT 2.0 processor:
-
@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.
-
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 -
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 -
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 -
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 -
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 -
Instead of working something productive, I have been fighting with #FreshRSS and its #XPath (scraping) feature to make a working #unifi blog #RSS feed.
After some back and forth with documentation and #AI, 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 #selfhosted services.
-
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 & 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 & 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 & 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 & 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.
-
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! 🕸️😵💫
https://github.com/rodricios/wxpath #webcrawling #technews #developerhumor #HackerNews #ngated -
wxpath – Declarative web crawling in XPath
https://github.com/rodricios/wxpath
#HackerNews #wxpath #webcrawling #XPath #technology #open-source #GitHub
-
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
-
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
-
Work continues on XPath 4, XQuery 4, XSLT 4 - see https://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
-
#Development #Launches
Locate · In-browser page search for developers https://ilo.im/169d6x_____
#Search #WebPage #Regex #XPath #CSS #AI #Chrome #BrowserExtension #WebDev #Frontend -
Older Tech in the Browser Stack, by @smashingmag:
https://www.smashingmagazine.com/2025/11/older-tech-browser-stack/
-
»Older Tech In The Browser Stack«
https://smashingmagazine.com/2025/11/older-tech-browser-stack/Man stelle sich vor, wie produktiv eine Browser-Implementierung von #XPath 3.1 sein könnte.
-
Older Tech In The Browser Stack: https://smashingmagazine.com/2025/11/older-tech-browser-stack/. Essentially a decent "#XPath by examples" tutorial after a mostly unrelated introductory paragraph.
-
Получить цены акций, фондов и ОФЗ в Google Sheets
Привет, Хабр! Изучая информацию по работе с API в таблицах Google/Excel, понял лишь то, что я ничего не понимаю, разбираться в xpath, в парсинге XML внутри формулы это всё, как-то очень тяжело и громостко. У меня была простая задача, разработать что бы то ни было для получения текущей цены по конкретному активу с Мосбиржи. И как мне кажется, у меня это получилось в дотаточной степени чтобы можно было получить информацию и далее, как-то её агригировать, как вам удобно. Также сразу поясню, что функция GOOGLEFINANCE больше не работает, по этому остается искать другие пути решения.
https://habr.com/ru/articles/964722/
#api #GoogleТаблицы #excel #xpath #json #мосбиржа #appsscript
-
Получить цены акций, фондов и ОФЗ в Google Sheets
Привет, Хабр! Изучая информацию по работе с API в таблицах Google/Excel, понял лишь то, что я ничего не понимаю, разбираться в xpath, в парсинге XML внутри формулы это всё, как-то очень тяжело и громостко. У меня была простая задача, разработать что бы то ни было для получения текущей цены по конкретному активу с Мосбиржи. И как мне кажется, у меня это получилось в дотаточной степени чтобы можно было получить информацию и далее, как-то её агригировать, как вам удобно. Также сразу поясню, что функция GOOGLEFINANCE больше не работает, по этому остается искать другие пути решения.
https://habr.com/ru/articles/964722/
#api #GoogleТаблицы #excel #xpath #json #мосбиржа #appsscript
-
Получить цены акций, фондов и ОФЗ в Google Sheets
Привет, Хабр! Изучая информацию по работе с API в таблицах Google/Excel, понял лишь то, что я ничего не понимаю, разбираться в xpath, в парсинге XML внутри формулы это всё, как-то очень тяжело и громостко. У меня была простая задача, разработать что бы то ни было для получения текущей цены по конкретному активу с Мосбиржи. И как мне кажется, у меня это получилось в дотаточной степени чтобы можно было получить информацию и далее, как-то её агригировать, как вам удобно. Также сразу поясню, что функция GOOGLEFINANCE больше не работает, по этому остается искать другие пути решения.
https://habr.com/ru/articles/964722/
#api #GoogleТаблицы #excel #xpath #json #мосбиржа #appsscript
-
Получить цены акций, фондов и ОФЗ в Google Sheets
Привет, Хабр! Изучая информацию по работе с API в таблицах Google/Excel, понял лишь то, что я ничего не понимаю, разбираться в xpath, в парсинге XML внутри формулы это всё, как-то очень тяжело и громостко. У меня была простая задача, разработать что бы то ни было для получения текущей цены по конкретному активу с Мосбиржи. И как мне кажется, у меня это получилось в дотаточной степени чтобы можно было получить информацию и далее, как-то её агригировать, как вам удобно. Также сразу поясню, что функция GOOGLEFINANCE больше не работает, по этому остается искать другие пути решения.
https://habr.com/ru/articles/964722/
#api #GoogleТаблицы #excel #xpath #json #мосбиржа #appsscript
-
»QT4 Tutorial« – #XSLT #XQuery #XPath 4.0
https://johnlumley.github.io/DA2025/QT4.xhtml -
When all hope seems lost, never forget: uBlockOrigin supports XPath.
```
github.com##:xpath(//div[contains(text(), "Mention @copilot")]/..)
``` -
@webstandards_dev There would be more usage when browsers support #XSLT 3.0 + #XPath 3.1.
-
-
CW: re: tech nonsense, re: XML
-
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+
-
#Balisage = https://www.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.
-
#Balisage = https://www.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.
-
#Balisage = https://www.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.
-
#Balisage = https://www.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.
-
#Balisage = https://www.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.
-
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
-
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
-
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
-
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