mirror of
				https://gitlab.gnome.org/GNOME/libxslt
				synced 2025-11-04 00:53:12 +03:00 
			
		
		
		
	apply-imports support: - FEATURES libxslt/imports.h libxslt/pattern.[ch] libxslt/xsltInternals.h libxslt/transform.[ch] libxslt/templates.c libxslt/xslt.c: Added apply-imports, keep a stack of running templates - libxslt/xsltutils.c: bugfixes, gather the output informations down the cascade - tests/xmlspec/Makefile.am tests/xmlspec/REC-xml-2e.xsl tests/xmlspec/diffspec.xsl tests/xmlspec/xmlspec.xsl: running the real set of transformation on XML-1.0 2e generages a near perfect HTML. Needs just more number fixes and implementation and an obscure problem in 3.3.3 Daniel
		
			
				
	
	
		
			32 lines
		
	
	
		
			670 B
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			670 B
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0"?>
 | 
						|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 | 
						|
                version="1.0">
 | 
						|
 | 
						|
<xsl:import href="diffspec.xsl"/>
 | 
						|
 | 
						|
<xsl:template match="loc[@role='erratumref']">
 | 
						|
  <xsl:choose>
 | 
						|
    <xsl:when test="$show.diff.markup='0'">
 | 
						|
      <!-- nop -->
 | 
						|
    </xsl:when>
 | 
						|
    <xsl:otherwise>
 | 
						|
      <xsl:apply-imports/>
 | 
						|
    </xsl:otherwise>
 | 
						|
  </xsl:choose>
 | 
						|
</xsl:template>
 | 
						|
 | 
						|
<xsl:template match="loc[@role='erratumref']" mode="text">
 | 
						|
  <xsl:choose>
 | 
						|
    <xsl:when test="$show.diff.markup='0'">
 | 
						|
      <!-- nop -->
 | 
						|
    </xsl:when>
 | 
						|
    <xsl:otherwise>
 | 
						|
      <xsl:apply-imports/>
 | 
						|
    </xsl:otherwise>
 | 
						|
  </xsl:choose>
 | 
						|
</xsl:template>
 | 
						|
 | 
						|
 | 
						|
</xsl:stylesheet>
 | 
						|
 |