XSLT TutorialLesson 63Free preview
XSLT on the Server
This lesson is part of XML · All levels
Summary
XSLT can also run on servers using processors such as XSLTProcessor in PHP, XslCompiledTransform in .NET, or Transformer in Java. The server sends the result of the transformation (new HTML or XML) directly to the client so that the computational load remains on the server. This approach is more SEO friendly, hiding XSL files, and enabling caching results.
Key points
- PHP: DOMDocument to load XML + XSLTProcessor to transform
- The following is a list of the most common types of transformer: (javax.xml) (.NET)
- The server sends results so that the search engines are more friendly
- XSL files never get sent to the client, more secure
- The transformation results can be cached to speed up
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.