Комментарии:
No you should not. If a tool or process requires XSLT, it is fundamentally broken. There is no valid reason to ever use this parody of a language.
ОтветитьCurrently applying for SAP dev and support position. XML, XSLT and XPath are must have tools there. Also used XPath for mobile automation before. Thanks for the video.
ОтветитьKind of misses the point of markup languages. If you need to markup documents, the answer is obvious: XML. HTML5 is basically XML and XHTML5 explicitly so.
ОтветитьXSL(T) is such a superb language/ruleset which json can't replace. The XSL-T(T) Transform doesn't exist i JSON universe. As for transport data anyway will do I guess :)
ОтветитьXML is widely used in the humanities (TEI). JSON is useless for texts. A lot of file formats are XML-based. SVG is XML., .docx is XML, .KML (.KMZ) is XML etc. etc.
ОтветитьXML is often used with Java in Enterprise systems
ОтветитьI used XSLT back in the day to rip excel spreadsheets and write (nonstandard) InDesign Markup Language files for a car price guide. It was HELL! I felt like I was ready to navigate the galaxy after that. I then used the same technique to rip data out of poorly-formatted data collection sheets and dump them into a properly normalized database for the city, that was a real cool project. We had like 8,000 data entry sheets that were designed by the office manager (ie, no consideration to processing the data later) and all but maybe 50 we were ultimately able to parse automatically.
ОтветитьHeritage institutions around the world use XML and XSLT extensively for metadata transfer, processing, and storage. JSON is used for APIs. So yes. It's specialized.
ОтветитьIt is not legacy. XSLT can turn JSON and XML to ANY format. It's not as widely used but extremely important in data transformation and very powerful. Also way faster than expected.
ОтветитьXSLT is awesome for transforming data in a functional way. Only don't use the for loop piece. And they were reticent about adding it too.
ОтветитьJSON is extremely fragile. People can't just add more data to a transmission without a great deal of orchestration, which isn't required with XML / XSLT. JSON is certainly lighter weight, but you are rarely going to see a difference unless you are transmitting A LOT of data (which increases the fragility of JSON)..
ОтветитьI would only learn xml if the job asked for it. At my old job we used xml over json to get data for the e-learning courses we developed. We where only using it because our stakeholder wanted us to. Mind you our stakeholder wouldnt have noticed is we used json instead they just wanted us to stick with an xml standard.
ОтветитьXML is a very powerful technology when combined with XSLT (which is a turing complete programming language) and XPATH (the most flexible way to traverse any document) since XML can be transformed to anything you can imagine, HTML, other XML, any kind of scripts or even notation like JSON... which by the way doesn't fully replace XML ecosystem at all, simply because XML describes nodes and JSON describes objects which are different programming paradigms. Transporting data with XML is not it's main feature (although it can get really compact)... transformation really is!... In fact, I'm preparing this framework with XML and XSLT on the frontend (you can use JSON or XML as transformation syntax so you can consume any existing API) and the best is that it will be release soon... so please let me know if there's someone who can be of help in this project. Thanks in advance!
ОтветитьI had to learn XSLT to update and maintain a contract (PDF) generation system... felt weird, but it works. It's easy to learn when you land at a place where they use it. In my opinion, just being aware that it exists is good enough.
Ответить😍😍❤️❤️💙💙
ОтветитьToday you have to know JSON if you are going to work with API and integration, but you are not complete if you don't know SOAP, XML & XSLT even of you develop or work with a company that has only canonical JSON in-house, sooner or later you will have to talk to an external XML based system, there is simply no getting around it.
ОтветитьI work almost every day with XML data. I am working for an e-commerce platform. Most of our suppliers provide their product data using XML and CSV. Our EDI team transforms those data to BMEcat, which is also an XML based data format. But learning just XML has no meaning. It's like learning CSV or JSON. These are just data exchange formats. It will be much better and useful to learn how to parse, modify and transform these data formats using python, php, java etc..
ОтветитьDITA is a defacto standard for structured documentation in the technical communication field. It's a form of XML.
ОтветитьIt's astonishing that you could discuss XML and XSLT without understanding their primary purpose. In many industries xml is the storage and editing medium for technical documentation. There are widely used standards such as S1000D and DITA that are built on XML.
JSON is not a replacement for XML in that environment.
Also there is a real shortage of developers who really know this stuff.
I had to use XML for a DHL Germany project.
Many large companies still use XML. You can learn on the job for this one guys.
(btw I'm a Full stack JS dev)
This might be off topic, but I heard that some people are still using the BASIC programming language for some things. There's a whole community of people using it and they stick by it.
Ответить+1 for JSON -1 for XML and the whole validation process.
ОтветитьI have a question since you are wealthy and your like the only person I could imagine even close to answering this. Is school worth the time after 6/7th grade now I know unless I want to work at space X I don't need to know 90% of the things you learn in 8th grade (I am in 8th) I am more interested in $ and coding or gaming than school what is your opinion on this should I argue with my mother for hours until she understands or waste my time learning things I don't need to learn in my opinion
ОтветитьOnly learning xml because of work. Surprisingly still used in a lot of enterprise/finance erp/oms systems. If you’re learning APIs (soap and rest), working knowledge is enough and the rest you can search on the go.
ОтветитьSome protocols like OPCUA are also using XML to describe sensors or a PLC.
ОтветитьLast time i worked with XML and XSLT, was 5y ago... nowadays is JSON!
ОтветитьXML and XSLT is still very common in companies that send data to county recorder's offices. Things like real estate document recording. The PRIA spec is all XML.
Ответитьhey! im currently studying this for a course. thanks for the insights uncle stef 🖖
Ответить186th yeeeehaaaaa
Ответить