Subject: RE: XSLT to transform XML data to formatted HTML
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 10 Jul 2000 22:20:31 +0100
|
> Here's a snippet of the XML I need to change:
>
> <TECHNOLOGY name="Site Server" associate="John Stingl" classid="infra"
> groupid="wst" categoryid="pilot" GRIDX="40" GRIDY="-55"
> description="Microsoft's Internet site management application"
> website="http://insite.russell.com/it-arch-tec/reports/siteserver_rep.htm"
> />
>
>
> I would like to list the different attributes in an unordered HTML list so
> it can be read into Microsoft Powerpoint.
>
[Kay Michael]
<xsl:template match="TECHNOLOGY">
<ul>
<xsl:for-each select="@*">
<li><xsl:value-of select="name()"/> = <xsl:value-of
select="."/></li>
</xsl:for-each>
</ul>
</xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|