xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyle Coder" <x_co...@hotmail.com>
Subject XSL bug?
Date Wed, 03 Jan 2001 21:25:16 GMT
I am new to XSL, and I may have a bug in my XSL file, but shouldnt the
following XSL file copy an XHTML file 1:1 (that is, copy the input AS IS
exactly to output)?

When I run it under testXSLT, the attributes of a tag appear in the child
tag!  For example, the version attribute in the HTML tag appears in the meta
tag and the attributes of the meta tag appear in the title tag and so on...

<?xml version='1.0'?>
<xsl:stylesheet version="1.0"
<xsl:output method="xml"/>
    <xsl:template match="/">
    <xsl:template match="*">
            <xsl:copy-of select="attribute::*"/>

Please advise on what may be wrong


View raw message