02-05-2021



XML External Entity Prevention Cheat Sheet¶ Introduction¶ XML eXternal Entity injection (XXE), which is now part of the OWASP Top 10 via the point A4, is a type of attack against an application that parses XML input. XXE issue is referenced under the ID 611 in the Common Weakness Enumeration referential. All cheat sheets, round-ups, quick reference cards, quick reference guides and quick reference sheets in one page. XSLT - Extensible Stylesheet Language Transformations W. XSLT 1.0 and XPath 1.0 Quick Reference pdf (mulberrytech.com).

XSLT Style Sheets (AKA Templates) in HTML

An XSLT style sheet provides a template that can be reused for multiple pages of a site. Using XSLT style sheets for the common elements (the 'look and feel') of a web site can improve web page load times, since the templates can be cached by most browsers.

An XSLT style sheet can be applied to a web page by including a link tag with a MIME type specification of 'application/xslt+xml'. For backward compatibility with older browsers, it's probably a good idea to include a reference to the primary style sheet in a stylesheet processing instruction with the MIME type text/xsl.

Xslt Cheat Sheet

Here is an example of an HTML page using both an XSLT style sheet and CSS:

Xslt Cheat Sheet Template

The style sheets are ordered from lowest priority to highest (print, handheld, screen) just in case the browser ignores the media attribute of the link tag.

Xslt Cheat Sheet Pdf

Last updated Sunday September 19, 2010