scieloorg / Web

SciELO Web
www.scielo.br
6 stars 21 forks source link

Apresentação da tag <alternatives> em SciELO/homolog #619

Closed cinthia-vieira closed 7 years ago

cinthia-vieira commented 7 years ago

Ao usar a tag <alternatives> em alguma tabela, o conteúdo da mesma some, aparecendo somente os itens antes de <alternatives>, ou seja, label e caption. Retirada a tag e mantida somente uma das opções possíveis (ou tabela codificada, ou em SVG), o conteúdo é normalmente mostrado, como segue o exemplo em homolog.xml: http://homolog.xml.scielo.br/scielo.php?script=sci_arttext&pid=S0100-29452017000300301&lng=en&nrm=iso&tlng=en

Tabela 1: com tag "alternatives" Código XML:

<table-wrap id="t01">
    <label>TABLE 1</label>
    <caption>
        <title>Length (L), 
    diameter (D), fresh weight (FW), content of total soluble solids (TSS), seed 
    weight (SW) and number of seeds (NS) in different stages of development of 
    <italic>P. ixocarpa</italic> fruits.</title>
    </caption>
  <alternatives>
      <graphic 
          xlink:href="0100-2945-rbf-39-3-e-151-t01.svg"/>  
     <table><thead><tr><th align="center"><bold>DAA </bold></th>
         <th align="center"><bold>L </bold><bold> </bold>
             <bold>(mm) </bold></th>
         <th align="center"><bold>D </bold><bold> </bold>
             <bold>(mm) </bold></th>
         <th align="center"><bold>FW </bold><bold> </bold>
             <bold>(g) </bold></th>
         <th align="center"><bold>TSS </bold><bold> </bold>
             <bold>(°Brix) </bold></th>
         <th align="center"><bold>SW </bold><bold> </bold>
             <bold>(mg) </bold></th>
         <th align="center"><bold>NS </bold></th></tr>

     </thead><tbody><tr><td align="center">15 </td>
         <td align="center">21.9 c </td>
         <td align="center">25.8 c </td>
         <td align="center">7.50 c </td>
         <td align="center">2.4 b </td>
         <td align="center">87.7 c </td>
         <td align="center">241 a </td></tr>

         <tr><td align="center">25 </td>
             <td align="center">29.0 b </td>
             <td align="center">36.4 b </td>
             <td align="center">20.8 b </td>
             <td align="center">3.2 b </td>
             <td align="center">282.3 b </td>
             <td align="center">243 a </td></tr>

         <tr><td align="center">35 </td>
             <td align="center">34.5 a </td>
             <td align="center">42.0 a </td>
             <td align="center">34.2 a </td>
             <td align="center">4.6 a </td>
             <td align="center">502.6 a </td>
             <td align="center">271 a </td></tr>

         <tr><td align="center">45 </td>
             <td align="center">33.8 a </td>
             <td align="center">44.2 a </td>
             <td align="center">37.4 a </td>
             <td align="center">5.1 a </td>
             <td align="center">419.2 a </td>
             <td align="center">221 a </td></tr>

         <tr><td align="center">55 </td>
             <td align="center">35.9 a </td>
             <td align="center">44.0 a </td>
             <td align="center">38.3 a </td>
             <td align="center">5.0 a </td>
             <td align="center">474.1 a </td>
             <td align="center">250 a </td></tr></tbody></table>

  </alternatives>     
    </table-wrap>

Tabela 2: somente XML **Código XML:***

             <table-wrap id="t02"><label>TABLE 2</label><caption><title>Content of 
             chlorophyll a, b, total and carotenoids of cups of <italic>P. ixocarpa</italic> fruits 
             in different stages of development.</title></caption><table style="width: 312.45pt; 
             border-collapse: collapse; border: none;">
             <tbody>
             <tr style="height: 14.7pt;">
             <td style="width: 46.65pt; border-top: windowtext; border-left: white; 
             border-bottom: windowtext; border-right: white; border-style: solid; 
             border-width: 1.0pt; 
             padding: 0cm 5.4pt 0cm 5.4pt; height: 14.7pt;">
             DAA
             </td>
             <td style="width: 75.5pt; border-top: solid windowtext 1.0pt; border-left: 
             none; border-bottom: solid windowtext 1.0pt; border-right: solid white 
             1.0pt; padding: 
             0cm 5.4pt 0cm 5.4pt; height: 14.7pt;">
             Chl 
             a (mg 
             g<sup>-1</sup>)
             </td>
             <td style="width: 73.1pt; border-top: solid windowtext 1.0pt; border-left: 
             none; border-bottom: solid windowtext 1.0pt; border-right: solid white 
             1.0pt; padding: 
             0cm 5.4pt 0cm 5.4pt; height: 14.7pt;" colspan="2">
             Chl 
             b (mg 
             g<sup>-1</sup>)
             </td>
             <td style="width: 67.95pt; border-top: solid windowtext 1.0pt; border-left: 
             none; border-bottom: solid windowtext 1.0pt; border-right: solid white 
             1.0pt; padding: 
             0cm 5.4pt 0cm 5.4pt; height: 14.7pt;">
             Carot (mg 
             g<sup>-1</sup>)
             </td>
             <td style="width: 49.25pt; border-top: solid windowtext 1.0pt; border-left: 
             none; border-bottom: solid windowtext 1.0pt; border-right: solid white 
             1.0pt; padding: 
             0cm 5.4pt 0cm 5.4pt; height: 14.7pt;">
             Chl total 
             </td>
             </tr>
             <tr style="height: 14.7pt;">
             <td style="width: 46.65pt; border: solid white 1.0pt; border-top: none; 
             padding: 0cm 5.4pt 0cm 5.4pt; height: 14.7pt;">
             15
             </td>
             <td style="width: 77.3pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 5.4pt 
             0cm 5.4pt; 
             height: 14.7pt;" colspan="2">
             1.60 
             c
             </td>
             <td style="width: 71.3pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 5.4pt 
             0cm 5.4pt; 
             height: 14.7pt;">
             0.97 
             b
             </td>
             <td style="width: 67.95pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 5.4pt; 
             height: 14.7pt;">
             0.35 
             b
             </td>
             <td style="width: 49.25pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 5.4pt; 
             height: 14.7pt;">
             2.58 
             d
             </td>
             </tr>
             <tr style="height: 14.7pt;">
             <td style="width: 46.65pt; border: solid white 1.0pt; border-top: none; 
             padding: 0cm 5.4pt 0cm 5.4pt; height: 14.7pt;">
             25
             </td>
             <td style="width: 77.3pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 5.4pt 
             0cm 5.4pt; 
             height: 14.7pt;" colspan="2">
             1.82 
             c
             </td>
             <td style="width: 71.3pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 5.4pt 
             0cm 5.4pt; 
             height: 14.7pt;">
             0.99 
             b
             </td>
             <td style="width: 67.95pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 5.4pt; 
             height: 14.7pt;">
             0.38 
             b
             </td>
             <td style="width: 49.25pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 5.4pt; 
             height: 14.7pt;">
             2.82 
             cd
             </td>
             </tr>
             <tr style="height: 14.7pt;">
             <td style="width: 46.65pt; border: solid white 1.0pt; border-top: none; 
             padding: 0cm 5.4pt 0cm 5.4pt; height: 14.7pt;">
             35
             </td>
             <td style="width: 77.3pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 5.4pt 
             0cm 5.4pt; 
             height: 14.7pt;" colspan="2">
             1.06 
             bc
             </td>
             <td style="width: 71.3pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 5.4pt 
             0cm 5.4pt; 
             height: 14.7pt;">
             0.50 
             a
             </td>
             <td style="width: 67.95pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 5.4pt; 
             height: 14.7pt;">
             0.17 
             a
             </td>
             <td style="width: 49.25pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 5.4pt; 
             height: 14.7pt;">
             1.56 
             bc
             </td>
             </tr>
             <tr style="height: 14.7pt;">
             <td style="width: 46.65pt; border: solid white 1.0pt; border-top: none; 
             padding: 0cm 5.4pt 0cm 5.4pt; height: 14.7pt;">
             45
             </td>
             <td style="width: 77.3pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 5.4pt 
             0cm 5.4pt; 
             height: 14.7pt;" colspan="2">
             0.36 
             ab
             </td>
             <td style="width: 71.3pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 5.4pt 
             0cm 5.4pt; 
             height: 14.7pt;">
             0.20 
             a
             </td>
             <td style="width: 67.95pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 5.4pt; 
             height: 14.7pt;">
             0.19 
             a
             </td>   
             <td style="width: 49.25pt; border-top: none; border-left: none; border-bottom: 
             solid white 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 5.4pt; 
             height: 14.7pt;">
             0.55 
             ab
             </td>
             </tr>
             <tr style="height: 14.7pt;">
             <td style="width: 46.65pt; border-top: none; border-left: solid white 1.0pt; 
             border-bottom: solid windowtext 1.0pt; border-right: solid white 1.0pt; 
             padding: 0cm 
             5.4pt 0cm 5.4pt; height: 14.7pt;">
             55
             </td>
             <td style="width: 77.3pt; border-top: none; border-left: none; border-bottom: 
             solid windowtext 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 
             5.4pt; height: 14.7pt;" colspan="2">
             0.09 
             a
             </td>
             <td style="width: 71.3pt; border-top: none; border-left: none; border-bottom: 
             solid windowtext 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 
             5.4pt; height: 14.7pt;">
             0.26 
             a
             </td>
             <td style="width: 67.95pt; border-top: none; border-left: none; border-bottom: 
             solid windowtext 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 
             5.4pt; height: 14.7pt;">
             0.07 
             a
             </td>
             <td style="width: 49.25pt; border-top: none; border-left: none; border-bottom: 
             solid windowtext 1.0pt; border-right: solid white 1.0pt; padding: 0cm 
             5.4pt 0cm 
             5.4pt; height: 14.7pt;">
             0.35 
             a
             </td>
             </tr>
             </tbody>
             </table>                 
             </table-wrap>

Apresentação da tabela

Content of chlorophyll a, b, total and carotenoids of cups of <italic>P. ixocarpa</italic> fruits in different stages of development.
DAA Chl a (mg g-1) Chl b (mg g-1) Carot (mg g-1) Chl total
15 1.60 c 0.97 b 0.35 b 2.58 d
25 1.82 c 0.99 b 0.38 b 2.82 cd
35 1.06 bc 0.50 a 0.17 a 1.56 bc
45 0.36 ab 0.20 a 0.19 a 0.55 ab
55 0.09 a 0.26 a 0.07 a 0.35 a

Tabela 3: somente SVG

**Código XML:***

             <table-wrap id="t03">
             <label>TABLE 3</label>
             <caption>
             <title>Average time (AT) and germination speed index (GSI) of fresh and dry seeds in different stages of development of <italic>P. ixocarp</italic>a fruits.</title>
             </caption>
             <graphic xlink:href="0100-2945-rbf-39-3-e-151-t03.svg"/>
             </table-wrap>