Subject: [xsl] should apply-imports apply template rule in the same stylesheet? From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 06 Jul 2011 15:06:46 +0200 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/"> <html> <head> <title>Test</title> </head> <body> <xsl:apply-imports/> </body> </html> </xsl:template>
<xsl:template match="foo"> <p> <xsl:value-of select="."/> </p> </xsl:template>
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Test</title> </head> <body> <p>foo 1</p> </body> </html>
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Test</title> </head> <body></body> </html>
Martin Honnen --- MVP Data Platform Development http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] question regarding settin, Andrew Welch | Thread | Re: [xsl] should apply-imports appl, Brandon Ibach |
Re: [xsl] Java list extension, Geurt Lagemaat | Date | Re: [xsl] should apply-imports appl, Brandon Ibach |
Month |