|
|
|
Ask HN: Does Anybody Use XQuery?
|
|
4 points
by Grayskull
1902 days ago
|
|
I am currently working on where I plan to do configuration through xml file and it got me me thinking "I could learn XQuery and use it."
Since XQuery is at least by my understanding "SQL for XML".
But when looking for ways to use it. I thought "Does anybody actually use it?" and "How off am I actually understanding it?" |
|
Just use JSON.
Also, if you absolutely insist on using it, do not use namespaces, and avoid attributes. All us older timers could tell you about the number of frustrating XML configs we had to deal with that had overcomplicated or completely irrational structures. And namespaces and attributes were the biggest offenders.