#XPath

PypeBrosPypeBros
2025-07-04

for comparison, the expressions I explored back in mastodon.social/@PypeBros/1135 when I was toying with the idea of a -dashboard take 8s to process my simplified .xml file

the current "simplify.pl" processes the raw blog data in less than 1/8th of a second ^^" .. so maybe I'll stick to regular expressions as long as I can.

Frank Abelbeckfrank@troet.cafe
2025-06-30

Work in progress: porting my AIXM XSLT back to Python's xml.etree.ElementTree.

Functional programming approach ftw! parseNode() calling parseNode(), doing tag-dependend things.

Downside: xml.etree's namespace handling and XPath parsing is rudimentary at its best. 😐

#aviationnerd #python #xml #xslt #xpath #aixm

2025-05-27

CSS и XPath — отстой. Секрет стабильных автотестов в test-id

По фактам: почему CSS и XPath — путь в ад, а test-id — спасение. В статье — реальные советы, как договориться с командой, внедрить test-id и писать автотесты, которые не разваливаются каждую пятницу.

habr.com/ru/articles/910984/

#автоматизация_тестирования #uiтестирование #qa #qa_automation #python #javascript #typescript #css #xpath #playwright

Christiaan KrasHtbaa@fosstodon.org
2025-05-07

Does anyone know of a tool that can beautify #XPath expressions? A webapp I have to use removes all formatting of multiline expressions removing all newlines. Whenever I need to edit this it's a real pain to format it back to something readable.

I'm also interested in using #RakuLang since it has native support for grammars. But even as a #perl programmer looking at raku code I get overwhelmed with all the symbols and foreign syntax.

I just released a bugfix version of #fs2-data. It addresses two bugs in parsing and compiling #streaming #xpath queries with alternative.

github.com/gnieh/fs2-data/rele

Jan de Muijnck-Hughesjfdm@discuss.systems
2025-04-11

Revisiting the idea of 'Shaped Data' using #dependent_types

The idea being that lots of standards (#RFCs) are encoded in #XML for good reason.

Surprise, surprise:

What if we assume: #XSD are #types and XML and #XPath are values typed by XSD.

We can encode that nicely using dependent types so that we can write well-typed queries over well-typed data:

```
query : {ty : Schema n a} -> Query ty -> Data ty -> Maybe (Result ty)
```

Still, there are more things that can be well-typed. For example, I am gearing up to look at getting something like this working:

```
parse : {ty : Schema n a}
-> (str : String)
-> Rule (Data ty)
```

Hemera :nixos: :ms_snow_leopard:Hemera@meow.social
2025-04-08

The fact that XPath has support to serialize to JSON opens up a lot of amazing opportunities

👀

#xml #xpath #xee #rust #rustlang

Emmanuel Chateau-Dutieremchateau@mamot.fr
2025-03-28

Cool ! une nouvelle implémentation de #XPath et #XSLT en #rust blog.startifact.com/posts/xee/

GripNewsGripNews
2025-03-28

🌗 祕密網誌 • Xee: 一個現代的Rust XPath和XSLT引擎
➤ 對XML技術歷史、XPath、XSLT和現代的Rust Xee引擎的深入探討
blog.startifact.com/posts/xee/
近兩年來,作者一直在開發一種名為Xee的Rust程式語言實現,支援現代版本的XPath和XSLT。Xee是一種程式語言實現,成果包含一個命令行工具和一個Rust庫,用於發行XPath查詢和在Rust中發出XPath查詢。文章介紹了Xee的起源、XML技術歷史以及對於XML以及XPath和XSLT在基於開源堆上的現狀和未來的看法。
+ 讀完這篇文章後,對於XML技術的演進和Xee的出現更有深入瞭解。
+ 文章精簡而清晰地介紹了Xee的背景和價值,對於XML技術愛好者具有啟發性。

Hacker Newsh4ckernews
2025-03-28
2025-03-04

Локаторы. Стратегии поиска веб-элементов

Какой бы инструмент вы ни выбрали для автоматизации тестирования, все они будут искать элементы с помощью локаторов, и обычно это означает, что вы, как тестировщик, должны их создавать используя селекторы. Какие бывают локаторы, как они выглядят, чем отличаются, какие лучше использовать, а какие избегать и почему, ответы прочтете здесь. Примеры скриптов на Playwright и Cypress.

habr.com/ru/articles/887964/

#Css #xpath #локаторы #селекторы #автоматизация_тестирования #playwright #cypress #html #тестовые_атрибуты #datatest

2025-02-06

• Visual selector for targeting specific page elements with #CSS and #XPath support
• Interactive browser steps for handling logins, forms, and complex scenarios

📊 Comprehensive Monitoring Features
• Monitors #PDF changes, #JSON APIs, and complex web content

Wolfgang SchindlerWolfgangSchindler
2025-02-05

In , it's decisive to define the target of each template (in your match attribute) very precisely in and to carefully check the nodes it matches; because the correctness of your result largely depends on matching the right set of nodes - not more or less. In refining my stylesheets, I see a growing number of predicates to narrow down the scope of matches, so that I exactly process what I intend to.

2025-01-30

💙 Power Automate Secrets: FAST 🚀 Transform Nested Arrays with XML and XPath

🔵 Transform nested arrays in Power Automate with ease.
🔵 Convert JSON to XML for efficient data handling.
🔵 Use XPath to extract precise data from complex structures.
🔵 Streamline workflows and boost performance.

▶︎hubsite365.com/en-ww/citizen-d

Discover the secrets to handling nested array data in Power Automate! By converting JSON to XML and leveraging XPath, you can flatten complex data structures and enhance your cloud flows. This approach not only streamlines your workflows but also significantly improves performance, making your automation projects more efficient and less time-consuming.

#PowerAutomate #DataTransformation #XML #XPath #AutomationSkills

2025-01-27

XML Abfragen

Es gibt viele Möglichkeiten, um XML-Dateien auszulesen und abzufragen. Hier findet ihr eine davon.

#XML #Query #Abfrage #Xpath #Xmllint #Linux

gnulinux.ch/xml-abfragen

2025-01-14

Had to write some XPath query today. I kinda hate that it always takes me 15 minutes to reacquaint with the syntax, but I love the feeling when I get it to do exactly what I wanted
#XPath #scrapping

Paolo Melchiorrepaulox@fosstodon.org
2025-01-11

@ville @servo thanks Ville to let Servo supporting HTMX 🙏

#Servo #Rust #XPath #HTMX

#NerdWord kennt #XPath nicht. Schwach!

Fehlversuch bei NerdWord mit XPath.

@jdeisenberg Definitiv, danke!

Vor allem bin ich auch nach 25 Jahren Nutzung noch fasziniert, wie effektiv sich Lösungen mit #XSLT 3.0 / #XPath 3.1 erzielen lassen. Leider immer schwerer vermittelbar.

Norm Tovey-Walshndw@toot.wales
2024-12-18

I am pleased to report that #Saxonica has released #SaxonJS 3.0.0-beta1, our JavaScript-based #XPath and #XSLT processor for the browser and Node.js. blog.saxonica.com/announcement

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst