News for hackers. Stuff that matters.
Re:Why I don't miss React: a story about using the platform by porker on Wednesday May 04, 2022 @03:07AM (#31257596)
Would love to know what the app does. From the mentions of xpath all I can think is "visual xml editor"?
Re:Why I don't miss React: a story about using the platform by eyelidlessness on Wednesday May 04, 2022 @01:49PM (#31263633)
It’s an implementation of ODK[1] extensions to the XForms specification[2]. The specific implementation is Enketo[3], which I was brought on to ODK to help maintain. Not exactly the spec I’d go with greenfield, but it’s been successfully in use for a decade with great impact.

1: https://getodk.org/

2: https://getodk.github.io/xforms-spec/

3: https://enketo.org/

Re:Why I don't miss React: a story about using the platform by bryanrasmussen on Wednesday May 04, 2022 @04:35AM (#31258079)
ideas:

could be using data returned in XML format because there is no JSON endpoint for that particular data source.

XPath is also nice for dealing with just about any complex markup tree, for example if you needed to extract data from serialized DOMs that were sent to your application somehow.

How about SVG tools using XPath?

Re:Why I don't miss React: a story about using the platform by porker on Wednesday May 04, 2022 @07:46AM (#31259182)
Thanks, great ideas and I'd never considered XPath for SVG. I need to delve into that one further.