[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Transforming XML Blockquotes - Mixed Content
I can get the paragraph numbers to show up by adding it to the paragraph
template
<xsl:template match="paragraph"> <font class="para-num"><xsl:value-of select="@num"/></font><xsl:apply-templates/> </xsl:template> But to be able to apply the correct formatting to the various new p tags created by the transformation, I need to add at least two different classes. (1) to the paragraph within the blockquote (to remove the indent that is applied to other paragraphs and to account for the decreased line-height that blockquotes get) and (2) to the new false paragraphs (to remove the indent that would be applied following the blockquote). So, even though the XSL code works, it introduces some of the same problems that IE6 caused to the original XHTML blockquote-as-child-object problem. From: James Fuller <jim.fuller@xxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|