[jdom-interest] XSLTransformer output HMTL?

Elliotte Rusty Harold elharo at metalab.unc.edu
Fri Jun 18 04:37:47 PDT 2004


At 12:12 AM -0700 6/18/04, xu003 wrote:
>Hi,
>
>Clearly, org.jdom.transform.XSLTransformer.transform() returns
>org.jdom.Document. But if I set <xsl:output method="html"/> in my XSL file
>(apparently it worked!),  what is the the output anyway? Is it XML or HTML?
>

XML. The method attribute of xsl:output only applies when the 
document is serialized, which is not when using XSLTransformer.
-- 

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA



More information about the jdom-interest mailing list