HTML & CSS
I have a list of images that need to be appended to the existing attribute in an xslt template. I am trying to output XHTML. The body tag may already contain some function in the onLoad attribute, so it would be best to just append the images to be preloaded. To get an idea, please see the code below
<xsl:variable name="val2" select="concat(...or something like that...)"/>
<xsl:variable name="attr" select="concat(.,',')"/>
Any help will be appreciated.
Try something like this instead:
<!--the line below will grab what you have in
the current onLoad attribute and copy it-->
<xsl:value-of select="@onLoad" />
add whatever you need to here,
like the loop you have in your other code sample.
This will be appended to the onLoad attribute.
Great, Let me try this. Thanks for your help and time. I really appreciate it
This topic is now closed. New replies are no longer allowed.