report with FsCustumAttribute

Home Forums FS Support report with FsCustumAttribute

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #73
    rafalopez
    Participant

    <p>Hello, I need reports, task and competition<br />
    include any "FsCustomAttribute"<br />
    I can not do it …<br />
    someone can help me?<br />
    thanks
    </p>

    #345
    dlhenke
    Participant

    Hello Rafa, what do you want? send me an email with your requests, then i will try to build a custom xslt (Xml transformer). For Our Regional “Sul Mineiro” i’m doing a xslt with handicap for different classes, (1,04 to EN-D or equivalent, 1,06 to EN-C, 1,08 to EN-B, 1,10 to EN-A, Female Open 1,01, EN-D 1,05, EN-C 1,07, EN-B 1,09 EN-A 1,11);

    Cheers

    Durval Henke

    #349
    rafalopez
    Participant

    Durval hello, I need some FsCustomAttribute include data in the reports for each task and the overall cumulative
    I could not do it, you can help me?
    PS: interesting to see the results with HANDYCAP, please send it to see it

    #400
    rafalopez
    Participant

    Hi can anyone help me … with this application

    #401
    ste
    Member

    Assuming you have a custom attribute named “test”.

    Make a copy of task_result_.tkr.xsl.

    Search for <xsl:template name="result_heading_row"> and place

    <th class="fs_res">Test</th>

    somewhere btw the other <th…

    Search for <xsl:template name="result_row"> and place

    <td class="fs_res">
      <xsl:value-of select="$comp_pilot/FsCustomAttributes/FsCustomAttribute[@name='test']/@value"/>
    </td>

    somewhere btw the other <td class=”fs_res”…

    Example:

    <xsl:template name="result_heading_row">
    		<tr>
    			<th class="fs_res">#</th>
    			<th class="fs_res">Id</th>
    			<th class="fs_res">Name</th>
    			<th class="fs_res"></th>
    			<th class="fs_res">Nat</th>
    			<th class="fs_res">Glider</th>
          <th class="fs_res">Sponsor</th>
          <!-- FsCustomAttribute test -->
          <th class="fs_res">FsCustomAttribute "test"</th>
    
    ...
    	<xsl:template name="result_row">
    ...
    			<td class="fs_res">
    				<xsl:value-of select="$comp_pilot/@glider"/>
    			</td>
    			<td class="fs_res">
    				<xsl:value-of select="$comp_pilot/@sponsor"/>
    			</td>
          <td class="fs_res">
            <!-- FsCustomAttribute test -->
            <xsl:value-of select="$comp_pilot/FsCustomAttributes/FsCustomAttribute[@name='test']/@value"/>
          </td>
    ...

    Stein-Tore

    #402
    rafalopez
    Participant

    Perfect ..
    thank you very much

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.