A snippet of a very simple XSL that produces HTML is inlined below: <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:output method="html" indent="yes" encoding="utf-8"/> <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> <xsl:template match="report"> <html> <head> <title> <xsl:value-of select="reportsubtitle"/> </title> </head> <style> TD.header {font-weight: bold; color: black} TD.normal {} </style> <body> <font face="Tahoma,Courier,Verdana,Arial" size="3"> <div align="left" style="float:left;"> <xsl:apply-templates select="logoURL"/> <br clear="left"/> <xsl:apply-templates select="reportheader"/> <br clear="left"/> <xsl:apply-templates select="versionInfo"/> <br clear="left"/> </div> <div align="center"> <br clear="left"/> <xsl:apply-templates select="reporttitle"/> <br clear="left"/> <xsl:apply-templates select="reportcustomer"/> <br clear="left"/> <xsl:apply-templates select="reportsubtitle"/> <br clear="left"/> <xsl:apply-templates select="reportparms"/> </div> <br /> <br /> <xsl:apply-templates select="details"/> <br /> <br /> <div align="center" style="float:center;"> <xsl:apply-templates select="logoCopyURL"/> </div> </font> </body> </html> </xsl:template> <snip/> Is this enough or do you need the complete file? -Lou ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LOG-NET, Inc. The Logistics Network Management System ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 230 Half Mile Road Third Floor Red Bank, NJ 07701 PH: 732-758-6800 FAX: 732-747-7497 http://www.LOG-NET.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CONFIDENTIAL & PRIVILEGED Unless otherwise indicated or if obvious from the nature of the content, the information contained herein is privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone (732-758-6800) or by electronic mail ([EMAIL PROTECTED]), and destroy any copies, electronic, paper or otherwise, which you may have of this communication. Thank you. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tommy Reynolds <[EMAIL PROTECTED] To: [EMAIL PROTECTED] aCoder.com> cc: Subject: Re: xml, xsl => html 03/09/2005 09:16 Please respond to fop-user Uttered "Arun Sinha" <[EMAIL PROTECTED]>, spake thus: > You can achieve it without using fop. > Simply outout the tags html in your xsl. > Link your xsl to xml and call the XML directly in browser. Do you have a short example? I'd love to see it. Cheers (See attached file: attg4xc7.dat)
attg4xc7.dat
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]