Re:You probably misunderstand XML
by JonnieCache on Thursday November 18, 2010 @03:44PM
(#1919168)
xslt is beyond tedious, it is infuriating. There are few use cases for xslt that would not be better served with a procedural technique, eg. python and a parser.
also the whole "using xml to define a transformation on some other xml" thing is so overly meta as to induce a massive brain hemorrhage out of my nose and all over my desk.
Fortunately you can now use XPath for simple queries and XQuery beyond that.
Re:You probably misunderstand XML
by JonnieCache on Thursday November 18, 2010 @03:51PM
(#1919193)
Forgot about them. Both XPath and XQuery are excellent technologies and a probably the best thing about XML in my experience with it. I highly recommend everyone concerned with XML check them out if they havent already. I never seem to see much mention of them around XML discussions.
> I never seem to see much mention of them around XML discussions.
Which is a shame since I've been banging my head against a particular set of problems for a while with XML, and XQuery nicely resolves that, and I think it's easier to use than SQL for the most part.
the only real complaint I have is that xsl, being itself xml, is pretty verbose and can be tedious to write.