P
P
private242014-11-26 13:20:35
HTML
private24, 2014-11-26 13:20:35

Why is XSLT needed?

Please explain why XSLT technology is used?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
krypt3r, 2014-11-26
@krypt3r

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

T
tushev, 2014-11-26
@tushev

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.

O
OnYourLips, 2014-11-26
@OnYourLips

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 question

Ask a Question

731 491 924 answers to any question