Concatenation in XSLT

A lot of my co-workers have been asking me this question, so I decided to post this here. It’s an example of concatenation in XSLT-FO using the keyword concat.

 

  <fo:external-graphic content-height="40px" content-width="auto">
    <xsl:attribute name="src">
      <xsl:value-of select="concat('C:\Images\','image.jpg')"/>
    </xsl:attribute>
  </fo:external-graphic>

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s