Subject: Re: [xsl] result-document output method vs unnammed output method From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 25 Nov 2011 12:04:17 -0500 |
Friday afternoon test - try and guess the output:
A.xslt:
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="B.xslt"/>
<xsl:template match="/" name="main"> <xsl:result-document method="xml"> <foo>bar</foo> </xsl:result-document> </xsl:template>
</xsl:stylesheet>
B.xslt:
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
</xsl:stylesheet>
-- Contact us for world-wide XML consulting and instructor-led training Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/t37DVX Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] result-document output method, Andrew Welch | Thread | Re: [xsl] result-document output me, Andrew Welch |
[xsl] result-document output method, Andrew Welch | Date | Re: [xsl] result-document output me, Andrew Welch |
Month |