<%@ page language="C#" masterpagefile="~/templates/Master1.master" inherits="Page" keywords="Canonicalize XML, XML Canonicalization, xml Canonicalizer, c14n, normalize xml, xml normalization, xml canonical, Canonical XML, canonicalize XML, normalize-space, xml white space, xslt whitespace, white-space-collapse, xml whitespace, white-space-treatment, canonical xml, xsl whitespace, xslt strip whitespace, canonicalize, xsl strip whitespace, ignorablewhitespace, xml whitepaper, canonical form, dom whitespace, xml canonical, normalize xml, whitespace xml" %>

XML Canonicalizer

<%= ConfigurationManager.AppSettings["SSV"] %> features a handy XML canonicalizer among its' many XML editing utilities, for converting any XML document into its canonical form, a W3C standard for normalizing XML files (i.e. removing XML whitespace, etc.)

Canonicalizing an XML File

Just load any XML file in the <%=ConfigurationManager.AppSettings["SS"]%> XML editor, and click the "Make Canonical XML" button - <%=ConfigurationManager.AppSettings["SS"]%> will automatically convert the current XML file into its canonical form representation. The XML canonicalizer is easy to use and is illustrated below:

Canonicalizing an XML File

The Rules of XML Canonical Form

Think of XML canonical form as a normalized format for XML documents for comparing two XML documents for equality, for example, suppose you wanted to compare documents for versioning or security reasons. The W3C addresses this problem with the XML Canonicalization spec (c14n), which defines a standard form for an XML document that is guaranteed to provide proper bit-wise comparisons and thus consistent digital signatures, and <%=ConfigurationManager.AppSettings["SS"]%> is the only XML IDE to provide built-in support for XML canonicalization, as illustrated here:

Canonicalize XML documents with <%=ConfigurationManager.AppSettings[" width="390" height="202"/>

When you convert XML document into its canonical form, <%=ConfigurationManager.AppSettings["SS"]%> automatically performs the following XML editing operations for you:

<%= ConfigurationManager.AppSettings["SSV"] %>'s XML Canonicalizer is the easiest way to normalize XML documents in a standard-based way.

Try Stylus XML Canonicalizer

Normalize XML files with Stylus Studio's XML Canonicalizer Download a free trial!