Re:The Goals of XML at 25: and the one change that XML now n...
by kaba0 on Tuesday July 20, 2021 @09:49AM
(#27893655)
> Why XPath? Because if your markup language doesnt map to normal programming data structures you need a band aid to fix it.
How do you express easily “every element that has X in its path” with a programming language? Of course you can write such a program but it is similar to regex - you could write a FSM but it is much easier to use a DSL for that.
How do you express easily “every element that has X in its path” with a programming language? Of course you can write such a program but it is similar to regex - you could write a FSM but it is much easier to use a DSL for that.