Re:SVG: The Good, the Bad and the Ugly
by gugagore on Friday February 12, 2021 @05:59PM
(#26119557)
The boundary where the XML ends and the DSL begins is at least a little arbitrary, but it does have important ramifications. By using XML, you can use the XPath query language to index down to a `path` (the end of the XML), but not within a `path` (the beginning of the DSL). That means, at least conceptually, you can attach colors, and events, and such to a path. And the fact that you cannot do it within a path (not without introducing a query language for the DSL) is inelegant, but also might not have much bearing in 99% of applications.
[ Parent
| on HN ]
There are no comments on this comment yet.