Subject: Re: [xsl] Help with a XML transformation From: "Juergen" <xsl@xxxxxxxxxxxxxxx> Date: Mon, 1 Aug 2005 21:52:10 +0200 |
I would like to convert the report in whatever, HTML, DOC, PDF, spreadsheet etc.just add the following line at the top of the xml and save the stylesheet as PTPierrea4.xsl in the same directory.
The issue is that I need to be able to exploit it.
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes" doctype-public="-//W3C//DTD HTML 4.01//EN" doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
<xsl:template match = "/"> <xsl:element name="html" > <xsl:element name="head"> <xsl:element name="title">Applications</xsl:element> </xsl:element> <xsl:element name="body"> <xsl:element name="div"> <xsl:element name="h2">Applications</xsl:element> <xsl:element name="table"> <xsl:attribute name="bgcolor">#cccccc</xsl:attribute> <xsl:element name="th">Id</xsl:element> <xsl:element name="th">Name</xsl:element> <xsl:element name="th">Version</xsl:element> <xsl:element name="th">Vendor</xsl:element> <xsl:element name="th">Language</xsl:element> <xsl:element name="th">#Machine</xsl:element> <xsl:element name="th">#Issue</xsl:element> <xsl:element name="th">#Solution</xsl:element> <xsl:apply-templates select="NewDataSet/Table1" /> </xsl:element> </xsl:element> </xsl:element> </xsl:element> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Help with a XML transform, Mukul Gandhi | Thread | [xsl] help with normalize-space(), Tran Thanh Dinh |
Re: [xsl] Help with a XML transform, Mukul Gandhi | Date | Re: [xsl] Grouping problem, Andrew Franz |
Month |