For historic reasons we have a mixture of
<xsl:output method="xml">
and
<xsl:output method="html">
and
<xsl:output method="xhtml">
inside an include-hierarchy of XSL files. Now we want to refactor so all XSL files use the same output method.
In the end we want to produce XHTML-output so I suppose the latter would be the best choice.
But what are the differences between those three output-methods and which would you use for what kind of solution?
Edit: I'm using XSLT 2.0
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…