Skip to content
Albert-Jan Schot
Albert-Jan Schot

· 1 min read

Post

Cleaning up HTML output

As the title should give away a minor trick to clean up your HTML output of your XLST, since when you are working with namespaces the HTML output based on a XML file will most probably look ‘crap’ containing a! lot of unnecessary info you don’t need to be outputted.

There is a very handy option for that: exclude-result-prefixes, that allows you to exclude name prefixes so that you will end up with clean HTML

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xsl">

Eased up my life debugging html!

Albert-Jan Schot

Albert-Jan Schot

CTO, Microsoft MVP & FastTrack Recognized Solution Architect

I am Albert-Jan Schot, CTO at Blis Digital, Microsoft MVP, and FastTrack Recognized Solution Architect focused on Microsoft 365, Azure, and AI agents. I help teams turn complex Microsoft Cloud challenges into practical architecture decisions and shipped outcomes.

Copilot Studio Microsoft 365 Agent Flows

Zuid Holland, Netherlands

Related Posts