XSL Tag - Can I replicate Div tag effect? Need help please!

Problems with the Solaris version of XAMPP, questions, comments, and anything related.

XSL Tag - Can I replicate Div tag effect? Need help please!

Postby shdale » 09. November 2009 12:19

I need to reference a background image that repeats within an xsl tag (I dont know anything about xsl). In a div tag it would be something like this:

<div style=”background-image: url(‘YourImages/cheese.gif’); repeat: repeat-y;”></div>

The images are stored in a folder and should be something like this:

<img>
<xsl:attribute name="src"><xsl:copy-of select="$imageloc"/>cheese.gif</xsl:attribute>
</img>

How can I have the same result in the xsl tag as I would in the div tag?

Many thanks - I'm in a bit of a muddle.
shdale
 
Posts: 2
Joined: 09. November 2009 12:01

Re: XSL Tag - Can I replicate Div tag effect? Need help please!

Postby shdale » 10. November 2009 14:34

Anyone going to help out a complete XSL dunce? There must be such an easy solution to this one - please give up 5 mins to reply - thanks.
shdale
 
Posts: 2
Joined: 09. November 2009 12:01


Return to XAMPP for Solaris

Who is online

Users browsing this forum: No registered users and 5 guests