[jdom-interest] XSLTransformer output HMTL?

xinyi xu xu_xinyi at yahoo.com
Fri Jun 18 15:22:16 PDT 2004


My other email box ate both my xslt example file and
result file. I am sending this one more time.
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? 

Thank you,
Xinyi


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail



More information about the jdom-interest mailing list