View Single Post
Old March 8th, 2005, 09:03 AM
mdawoodk mdawoodk is offline
Registered User
Join Date: Mar 2005
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

First of all thanks for your support i implemented your idea and am getting the following error.
"Top level elements should have non-null namespace, html."
i want to create a table with the tag names. my code is below.

<xsl:transform version="1.0" xmlns:xsl="">
<xsl:output method="html" omit-xml-declaration="yes" />

    <xsl:template match="/mags">
        <xsl:apply-templates select="mag/*"/>

    <table width="80%" border="1">
    <tr bgcolor="lightgrey">
        <xsl:template match="mag/*">
            <xsl:value-of select="name()"/>