This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, Apr 13, 2005 at 02:56:10PM -0400, Tristan Fiedler wrote: > <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> > > [...] > > 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) The 'p' elements are coming from one of those calls to the 'paragraph' template. In a previous reply, I suggested just overriding the 'address' template: <xsl:template match="address" mode="titlepage.mode"> <span class="{name(.)}"> <xsl:apply-templates mode="titlepage.mode"/> </span> <xsl:text>, </xsl:text> </xsl:template> (The comma placement there was to generate some specific output style that you specified in that previous thread.) I can see (at least) two possible reasons for not doing it this way: (a) it didn't work (I didn't test it), or (b) you need the original functionality of this template somewhere else in the document. Is either (a) or (b) true? If so, we can solve it some other way. -- Paul. w http://logicsquad.net/ h http://paul.hoadley.name/
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |