|
Subject: [xsl] result-document output method vs unnammed output method From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Fri, 25 Nov 2011 17:02:03 +0000 |
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>
--
Andrew Welch
http://andrewjwelch.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] What the default datatype, Michael Kay | Thread | Re: [xsl] result-document output me, G. Ken Holman |
| Re: [xsl] What the default datatype, Matthieu Ricaud-Duss | Date | Re: [xsl] result-document output me, G. Ken Holman |
| Month |