Hacker News new | ask | show | jobs
by judell 333 days ago
Here's the How To for that: https://docs.xmlui.org/howto#set-the-initial-value-of-a-sele...

Our hope is that by building up a set of these patterns, and making them available to agents via MCP, it will be as easy as possible to get things right.

1 comments

No offense, but you failed here. What if nothing gets returned? Now you're basically just writing code. Debatably even that example you're just writing code. An onLoad callback with array indexing and child access? This is just JavaScript wrapped in XML.