Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Cvrsor Are you fighting libraries? I had good luck using lxml module for Python.
-
Cvrsor2662y@Demolishun I’ll keep that in mind. Currently using java which might be part of the issue. Trying to troubleshoot ancient xslt files with a library that isn’t very debug-friendly.
-
Depends on usage.
It's horrible to write, too wordy for me, but it does have some advantages !
I would fuck...eh use it ! -
@NoToJavaScript XML is the perfect blend of terrible to write AND terrible to read!
-
@dontbeevil people keep mentioning transformations. What would be a practical use case? I never encountered one.
-
@Lensflare We have a print function that was producing html for showing on an embedded web page. We wanted to be able to convert that output to another format. The libraries we were using took out webkit from their offering for code compiled with mingw. So I needed to change the output to be able to produce a smaller subset of html as our options were less capable for embedded html. So I opted to produce XML as an intermediate format. Then I used a xslt transform to produce the html subset. The intent is to produce a different output later by adding a transform. Because the output does not have to be xml at all. We may decide to produce QML or Javascript or JSON. The xslt code is trivial for this purpose. Will we write this transform later? No idea. But I prefer XML as an intermediate format to HTML. Would JSON had been a better format? Not sure, as it would require code to transform it into something else. I still feel like the xslt transform is simpler.
Related Rants
-
codeblood14I finally built a new PC with 8GB memory, i7 4790K and SSD for OS. My old system was a core2duo with 2GB mem...
-
MrCSharp26JsonX is a an IBM standard to represent JSON in XML... Like wtf dude? What's the point in making shit even m...
-
kyleperik34XML sucks. Why can't we just use JSON everywhere?
XML 👏 AND 👏 XSLT 👏 SUCK 👏
rant
xslt
xml