Jump to content

Including a container field in <xsl:for-each...


RussellB

This topic is 7005 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Me again (so many questions!)

What is the simplest way to display a container field image when displaying a list of data as part of a xsl for-each type of statement (like a display record page). I am using xsl value-of statements for all the text and number fields. I can get the image to display by hard-coding the url (see code)


I tried to reference the recid using a variable but that didn't work. I've seen some very complex solutions for what should(?) be a simple step (I assume). Any comments?

Do I need to use concat to build the url? Can anyone show me an example?

Link to comment
Share on other sites

Me again (so many questions!)

What is the simplest way to display a container field image when displaying a list of data as part of a xsl for-each type of statement (like a display record page). I am using xsl value-of statements for all the text and number fields. I can get the image to display by hard-coding the url (see code)


I tried to reference the recid using a variable but that didn't work. I've seen some very complex solutions for what should(?) be a simple step (I assume). Any comments?

Do I need to use concat to build the url? Can anyone show me an example?

Link to comment
Share on other sites

Me again (so many questions!)

What is the simplest way to display a container field image when displaying a list of data as part of a xsl for-each type of statement (like a display record page). I am using xsl value-of statements for all the text and number fields. I can get the image to display by hard-coding the url (see code)


I tried to reference the recid using a variable but that didn't work. I've seen some very complex solutions for what should(?) be a simple step (I assume). Any comments?

Do I need to use concat to build the url? Can anyone show me an example?

Link to comment
Share on other sites

This topic is 7005 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.