Ignore:
Timestamp:
2024-04-30T13:24:13+12:00 (8 weeks ago)
Author:
kjdon
Message:

removed the actual format statement from the description5 - that can go into the xsl, it shouldn't be part of the string to be translated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/wrdpdf-e/transform/pages/about.xsl

    r36257 r38960  
    1010      <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description3']"/>
    1111      <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description4']"/>
    12       <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description5']"/>
    13      
     12      <p><xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description5']"/>
     13      <pre>
     14&lt;format&gt;
     15    &lt;gsf:template match="documentNode"&gt;
     16        &lt;td valign="top"&gt;
     17            &lt;gsf:link type="document"&gt;
     18                &lt;gsf:icon type="document"/&gt;
     19            &lt;/gsf:link&gt;
     20        &lt;/td&gt;
     21        &lt;td valign="top"&gt;
     22            &lt;gsf:link type="source"&gt;
     23                &lt;gsf:choose-metadata&gt;
     24                    &lt;gsf:metadata name="thumbicon"/&gt;
     25                    &lt;gsf:metadata name="srcicon"/&gt;
     26                &lt;/gsf:choose-metadata&gt;
     27            &lt;/gsf:link&gt;
     28        &lt;/td&gt;
     29        &lt;td valign="top"&gt;
     30            &lt;span class="highlight"&gt;
     31                &lt;gsf:choose-metadata&gt;&lt;gsf:metadata name="dc.Title"/&gt;&lt;gsf:metadata name="exp.Title"/&gt;&lt;gsf:metadata name="Title"/&gt;Untitled&lt;/gsf:choose-metadata&gt;
     32            &lt;/span&gt;
     33            &lt;gsf:switch&gt;
     34                &lt;gsf:metadata name="Source"/&gt;
     35                &lt;gsf:when test="exists"&gt;
     36                    &lt;br/&gt;
     37                    &lt;i&gt;(&lt;gsf:metadata name="Source"/&gt;)&lt;/i&gt;
     38                &lt;/gsf:when&gt;
     39            &lt;/gsf:switch&gt;
     40        &lt;/td&gt;
     41    &lt;/gsf:template&gt;
     42&lt;/format&gt;
     43</pre>
     44
     45      </p>
    1446    </xsl:template>
    1547
Note: See TracChangeset for help on using the changeset viewer.