[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Where does <p> come from in HTML output of <address>?
my guess would be from the call to the templated named: <xsl:call-template name="paragraph"> LN -----Original Message----- From: Tristan Fiedler [mailto:fiedler@cshl.edu] Sent: Wednesday, April 13, 2005 1:56 PM To: Docbook-Apps Subject: [docbook-apps] Where does <p> come from in HTML output of <address>? I have this in my XSL -HTML customization layer (only changed div's to span's) : <!-- template 4 --> <xsl:template match="address" mode="titlepage.mode"> <xsl:param name="suppress-numbers" select="'0'"/> <xsl:variable name="rtf"> <xsl:apply-templates mode="titlepage.mode"/> </xsl:variable> <xsl:choose> <xsl:when test="$suppress-numbers = '0' and @linenumbering = 'numbered' and $use.extensions != '0' and $linenumbering.extension != '0'"> <span class="{name(.)}"> <xsl:call-template name="paragraph"> <xsl:with-param name="content"> <xsl:call-template name="number.rtf.lines"> <xsl:with-param name="rtf" select="$rtf"/> </xsl:call-template> </xsl:with-param> </xsl:call-template> </span> </xsl:when> <xsl:otherwise> <span class="{name(.)}"> <xsl:call-template name="paragraph"> <xsl:with-param name="content"> <xsl:call-template name="make-verbatim"> <xsl:with-param name="rtf" select="$rtf"/> </xsl:call-template> </xsl:with-param> </xsl:call-template> </span> </xsl:otherwise> </xsl:choose> </xsl:template> But I am getting (and don't want) <p>'s in the HTML : <span class="address"><p>Baltimore, MD 21250 USA</p></span> Since there are no <p> tags in the html/titlepage.xsl, where are these <p> tags being called from? I wish to remove them (and perhaps simply insert a comma, although I'm not sure about this part) Thank you all in advance! Cheers, Tristan --- Tristan J. Fiedler Postdoctoral Fellow - Stein Lab Cold Spring Harbor Laboratory
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]