title: How to set the border style in one place and reference it throughout XSL
body: <p>I would like to have one var/attribute that I set the border style and reference it so if i want to change the border from 1pt to 2pt I don't need to change it in various locations.</p>
  
  <p>For example at the moment I do this;</p>
  
  <pre><code>&lt;fo:table border="1pt solid black"  table-layout="fixed"
    width="100%" display-align="center"&gt;
   &lt;fo:table-column column-width="10%" border-right="1pt solid black"/&gt;
   &lt;fo:table-column column-width="10%" border-right="1pt solid black"/&gt;
   &lt;fo:table-column column-width="23%" border-right="1pt solid black"/&gt;
   &lt;fo:table-column column-width="8%" border-right="1pt solid black"/&gt;
   &lt;fo:table-column column-width="11%" border-right="1pt solid black"/&gt;
   &lt;fo:table-column column-width="8%" border-right="1pt solid black"/&gt;
   &lt;fo:table-column column-width="20%" border-right="1pt solid black"/&gt;
   &lt;fo:table-header&gt;...
  </code></pre>
  
  <p>I would prefer something like;</p>
  
  <pre><code>&lt;xsl:variable
      name="border"
      select="1pt solid black"&gt;
  &lt;/xsl:variable&gt;
  
  &lt;fo:table border="$border"  table-layout="fixed"
    width="100%" display-align="center"&gt;
   &lt;fo:table-column column-width="10%" border-right="$border"/&gt;
   &lt;fo:table-column column-width="10%" border-right="$border"/&gt;
   &lt;fo:table-column column-width="23%" border-right="$border"/&gt;
   &lt;fo:table-column column-width="8%" border-right="$border"/&gt;
   &lt;fo:table-column column-width="11%" border-right="$border"/&gt;
   &lt;fo:table-column column-width="8%" border-right="$border"/&gt;
   &lt;fo:table-column column-width="20%" border-right="$border"/&gt;
   &lt;fo:table-header&gt;...
  </code></pre>
  
  <p>So my question really is this possible and if so whats the correct syntax?</p>
  
  <p>Any help would be great, </p>
  
  <p>Thanks in advance!</p>