AnsweredAssumed Answered

Error generating rendition using book.fo: mimetype text/html

Question asked by reshma on Mar 10, 2009
Hi All,
  I was created one xsl-fo file and corresponding xsd file by using these file i am creating Web Content at the time of creating I am getting this error,
 
Error generating rendition using book.fo: mimetype text/html is not supported by XSL-FO

and here I am pasting my xsf-fo code.

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:fo="http://www.w3.org/1999/XSL/Format">

  <xsl:output indent="yes"/>
<html>
      <head>
            <title>LTA Intranet ::Others::</title>
            <meta http-equiv="Content-Type" content-type="content-type:application/pdf; charset=iso-8859-1" />
      </head>
  <xsl:template match="/">
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
   
      <fo:layout-master-set>
        <fo:simple-page-master master-name="only">
          <fo:region-body/>
        </fo:simple-page-master>
      </fo:layout-master-set>

      <fo:page-sequence master-reference="only">

        <fo:flow flow-name="xsl-region-body">
       
        </fo:flow>

      </fo:page-sequence>

    </fo:root>
  </xsl:template>
<xsl:template match="books">
      <h1>Book Details</h1>
      <table>
        <th>Title</th>
        <th>Author </th>
        <th>Price</th>
          <xsl:apply-templates select="books"/>
      </table>
    </xsl:template>
    <xsl:template match="books">
      <tr>
        <td><xsl:value-of select="title"/></td>
        <td><xsl:value-of select="author"/></td>
        <td><xsl:value-of select="price"/></td>
      </tr>
    </xsl:template>
</html>
</xsl:stylesheet>

Can any one help me to slove this error.

thanks in advance.

Outcomes