Ignore:
Timestamp:
11/19/08 22:03:48 (4 years ago)
Author:
jojada
Message:

Do not filter out hyperlink element.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/openpackaging/packages/filter.xslt

    r356 r585  
    2929  </xsl:copy> 
    3030</xsl:template> 
    31  
    32  
    33 <xsl:template match="w:hyperlink"> 
    34          
    35         <!--  <w:hyperlink ns2:id="rId4" w:history="true"> 
    36                             <w:r> 
    37 <w:rPr> 
    38     <w:rStyle w:val="Hyperlink"/> 
    39 </w:rPr> 
    40 <w:t>http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=CELEX:12002E081:EN:NOT</w:t> 
    41                             </w:r> 
    42                         </w:hyperlink> 
    43                          --> 
    44          
    45         <xsl:choose> 
    46                 <xsl:when test="$tidyForDocx4all=true()"> 
    47                         <xsl:apply-templates select="node()"/> 
    48                 </xsl:when> 
    49                 <xsl:otherwise> 
    50                   <xsl:copy> 
    51                         <xsl:apply-templates select="@*|node()"/> 
    52                   </xsl:copy> 
    53                 </xsl:otherwise> 
    54         </xsl:choose> 
    55          
    56 </xsl:template>  
    5731 
    5832<xsl:template match="w:lastRenderedPageBreak"> 
Note: See TracChangeset for help on using the changeset viewer.