This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Forcing a new line for images
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: Forcing a new line for images
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Wed, 20 Sep 2000 20:14:20 +0100
- Reply-To: xsl-list at mulberrytech dot com
Todd,
Try
<xsl:template match="picture">
<br clear="left"><IMG ALIGN="left" vspace="2" hspace="8"><xsl:attribute
name="SRC">images/<xsl:value-of select="@href" /></xsl:attribute></IMG>
</xsl:template>
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@mulberrytech.com
>[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Todd Willis
>Sent: 20 September 2000 19:38
>To: XSL-List@mulberrytech.com
>Subject: Forcing a new line for images
>
>
>I have a large collection of articles that have multiple images. A vendor
>created a "basic" style sheet that formats the images as follows:
>
><xsl:template match="picture">
> <IMG ALIGN="left" vspace="2" hspace="8"><xsl:attribute
>name="SRC">images/<xsl:value-of select="@href" /></xsl:attribute></IMG>
></xsl:template>
>
>Everything works fine unless the text associated with an image isn't long
>enough to push the successive image "down" the page far enough. So the HTML
>output produces a "stair stepping" of images and text.
>
>I need to be able to change the style sheet to force a new line for each
>image but being a "newbie," I haven't cracked the code.
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list