Hi
I am trying to export the html content below to PDF format via the RadEditor:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><META http-equiv="Content-Type" content="text/html; charset=utf-16"><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"><title>INTELLIGENCE SERVICES CONTROL ACT NO. 40 OF 1994</title><link type="text/css" rel="stylesheet" href="/templates/BWCommon.css"><link type="text/css" rel="stylesheet" href="/mylnb/SiteCommon.css"><script type="text/javascript" src="/templates/vendor/jquery-1.6.1.min.js"></script><script type="text/javascript" src="/templates/links.js"></script><script type="text/javascript" src="/templates/popup.js?2"></script><script type="text/javascript" src="/templates/hoverbox.js?2"></script></head><body><p class="Generator-Heading" style="text-align:center">To browse use the Table of Contents on the left or the links provided below.</p><p><br></p><p class="Generator-Heading">Contents</p><p class="Generator-Item" style="margin-left:15pt"><a href="../../../jilc">Legislation - South Africa - National</a></p><p class="Generator-Item" style="margin-left:30pt"><a href="../../kilc">Acts and Regulations</a></p><p class="Generator-Item" style="margin-left:45pt"><a href="../alrg">I</a></p><p class="Generator-Item" style="margin-left:45pt;color:#00267F;margin-top:12pt"><b> <img style="border:0" width="8" height="9" src="/templates/arrows.gif" alt=""> INTELLIGENCE SERVICES CONTROL ACT NO. 40 OF 1994</b></p><p><br><br></p><p><br><br></p></body></html>
But this fails with the following exception :
Exception Details: System.Xml.XmlException: Invalid XHTML. RadEditor content should be correct XHTML in order to export to PDF.
What encoding does the XHTML validation use? And can it be set somewhere?
Thanks.
I am trying to export the html content below to PDF format via the RadEditor:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><META http-equiv="Content-Type" content="text/html; charset=utf-16"><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"><title>INTELLIGENCE SERVICES CONTROL ACT NO. 40 OF 1994</title><link type="text/css" rel="stylesheet" href="/templates/BWCommon.css"><link type="text/css" rel="stylesheet" href="/mylnb/SiteCommon.css"><script type="text/javascript" src="/templates/vendor/jquery-1.6.1.min.js"></script><script type="text/javascript" src="/templates/links.js"></script><script type="text/javascript" src="/templates/popup.js?2"></script><script type="text/javascript" src="/templates/hoverbox.js?2"></script></head><body><p class="Generator-Heading" style="text-align:center">To browse use the Table of Contents on the left or the links provided below.</p><p><br></p><p class="Generator-Heading">Contents</p><p class="Generator-Item" style="margin-left:15pt"><a href="../../../jilc">Legislation - South Africa - National</a></p><p class="Generator-Item" style="margin-left:30pt"><a href="../../kilc">Acts and Regulations</a></p><p class="Generator-Item" style="margin-left:45pt"><a href="../alrg">I</a></p><p class="Generator-Item" style="margin-left:45pt;color:#00267F;margin-top:12pt"><b> <img style="border:0" width="8" height="9" src="/templates/arrows.gif" alt=""> INTELLIGENCE SERVICES CONTROL ACT NO. 40 OF 1994</b></p><p><br><br></p><p><br><br></p></body></html>
But this fails with the following exception :
Exception Details: System.Xml.XmlException: Invalid XHTML. RadEditor content should be correct XHTML in order to export to PDF.
What encoding does the XHTML validation use? And can it be set somewhere?
Thanks.