[xsl] Subject: Re: [xsl] Caption will not Display

Subject: [xsl] Subject: Re: [xsl] Caption will not Display
From: "Joan Alvarez" <ALVAREJO@xxxxxxxxx>
Date: Tue, 20 Sep 2005 09:41:56 -0400
Following are XSL , XML  and DTD sections of documents being used for
conversion to html.
The figure (jpg file) shows up in the html file, but the caption does not.
assistance would be very much appreciated.

Joan Alvarez <alvarejo@xxxxxxxxx>

XSL Code:

<xsl:template match="figure/caption"><br /> <br /><i>

<xsl:template match="caption"><br /> <br /><i>

<xsl:template match="figure">
  <xsl:element name="img">
   <xsl:attribute name="src">
    <xsl:value-of select="src"/>
 </center></p><br /> <br />


XML Code

	    <caption>Eat Fruits and Vegetables</caption>


<!ELEMENT figure  (#PCDATA | caption)* >

<!ATTLIST figure
               file  CDATA    #REQUIRED  >

<!ELEMENT caption  (#PCDATA) >


Current Thread