Re: Non expected HTML tag closure.

  •  01-27-2014, 6:10 AM

    Re: Non expected HTML tag closure.

    Hello Ken,

     

    I basically create a html page by processing XML through a XSLCompiledTransform and I serve that by sending the output stream with the right mimetype. After that I load the content into the editor whenever I need it by using SetHTMLCode after making an AJAX get request with jquery.
    I've included the result my api gives:

    1. <?xml version="1.0"?>  
    2. <div xmlns="http://www.w3.org/1999/xhtml" xmlns:rte="urn:conv" id="Document">  
    3.   <h1>Kop 1</h1>  
    4.   <h2>Kop 2</h2>  
    5.   <h3>Kop 3</h3>  
    6.   <h4>Kop 4 </h4>  
    7.   <p> Paragraaf met <b>Bold</b><i>Italic</i><sup>Superscript</sup><sub>Subscript</sub> en <smallcaps>smallcaps</smallcaps>.</p>  
    8.   <captionblock data-type="Tabel"> Tabelbijschrift</captionblock>  
    9.   <table data-frame="none" data-colsep="0" data-rowsep="0" class="none">  
    10.     <tbody>  
    11.       <tr>  
    12.         <td>  
    13.           <p>a</p>  
    14.         </td>  
    15.         <td>  
    16.           <p> </p>  
    17.         </td>  
    18.         <td>  
    19.           <p> </p>  
    20.         </td>  
    21.         <td>  
    22.           <p> </p>  
    23.         </td>  
    24.         <td>  
    25.           <p> </p>  
    26.         </td>  
    27.         <td>  
    28.           <p> </p>  
    29.         </td>  
    30.         <td>  
    31.           <p> </p>  
    32.         </td>  
    33.       </tr>  
    34.       <tr>  
    35.         <td>  
    36.           <p> </p>  
    37.         </td>  
    38.         <td>  
    39.           <p> </p>  
    40.         </td>  
    41.         <td>  
    42.           <p> </p>  
    43.         </td>  
    44.         <td>  
    45.           <p> </p>  
    46.         </td>  
    47.         <td>  
    48.           <p> </p>  
    49.         </td>  
    50.         <td>  
    51.           <p> </p>  
    52.         </td>  
    53.         <td>  
    54.           <p> </p>  
    55.         </td>  
    56.       </tr>  
    57.     </tbody>  
    58.   </table>  
    59.   <p> </p>  
    60.   <captionblock data-type="Figuur"> Afbeeldingbijschrijft</captionblock>  
    61.   <p> </p>  
    62.   <p>Tekst met een voetnoot <footnote><p class="footnote_text"> Voetnoot 1</p></footnote></p>  
    63.   <p>Nog een voetnoot<footnote><p class="footnote_text"> Voetnoot 2</p></footnote></p>  
    64.   <p> asdf  </p>  
    65.   <div data-type="Samenvatting">  
    66.     <p>Kader Samenvatting </p>  
    67.   </div>  
    68.   <p>     <a href="http://www.google.nl">       http://www.google.nl/     </a>   </p>  
    69.   <p>Hiernaast staat een markering  <mark data-value="Markering">Gemarkeerd Item</mark></p>  
    70.   <p> </p>  
    71.   <p> </p>  
    72.   <p> </p>  
    73.   <p> </p>  
    74.   <p> </p>  
    75.   <p> </p>  
    76.   <p> </p>  
    77. </div>  
    Regards,

    Marvin. 

View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems