Answer the question
In order to leave comments, you need to log in
Why is XSLT needed?
Please explain why XSLT technology is used?
Answer the question
In order to leave comments, you need to log in
To convert an XML file to another format: XML of a different structure, HTML, PDF (like RTF). For example, if you received XML from some service, you do not draw a bunch of PHP code to convert it to HTML, but make one XSL file that you associate with the original XML
Correctly said above. Basically to turn the XML of one structure into the XML of another structure.
In Web programming, it is mainly used as templates. The data from the engine comes in the form of XML, an XSLT template is applied to it, and the output is an HTML page with data and design.
For XML transformation.
It is not used on the web except in rare situations in the enterprise.
For a long time, they tried to use it for templating, but it was not convenient in normal situations, and this was abandoned.
Usually its presence in the project indicates that the code is very old.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question