MudGuard: CDATA Bereiche in von XSL generietem HTML

Beitrag lesen

Hi,

Meinst Du das als "mißbrauchen"?

Ja, Elemente oder einzelne tags als "Text" auszugeben, ist Mißbrauch.

Warum nicht auf die normale Methode:?

<xsl:template match="/">
  <html>
    <head>
      [...]
    </head>
    <body>
      <table width="70%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>
            <xsl:apply-template select="/DeinXMLRootElement"/>
          </td>
        </tr>
      </table>
    </body>
  </html>
</xsl:template>

Ganz ohne CDATA und ohne XSLT-Vergewaltigung...

cu,
Andreas

--
Der Optimist: Das Glas  ist halbvoll.  - Der Pessimist: Das Glas ist halbleer. - Der Ingenieur: Das Glas ist doppelt so groß wie nötig.
http://mud-guard.de/