Thank you.
So suppose the following is my xsl file.
-------------------------------------------------------------------------
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/TR/xhtml1/strict">
<xsl:template match="/">
<html>
<head>
<title>Expense Report Summary</title>
</head>
<body>
<p>Total Amount: <xsl:value-of select="expense-report/total"/></p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
-------------------------------------------------------------------------
then the output result will be something like:
-------------------------------------------------------------------------
<html>
<head>
<title>Expense Report Summary</title>
</head>
<body>
<p>Total Amount: 100</p>
</body>
</html>
--------------------------------------------------------------------------
Are you saying the ouput is XML not HTML?
>===== Original Message From Elliotte Rusty Harold <elharo@metalab.unc.edu>
=====
>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@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
>_______________________________________________
>To control your jdom-interest membership:
>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost
.com