Have you specified an output method of HTML or is the first element output <html>?
Gary > -----Original Message----- > From: Roland [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 16, 2002 3:24 PM > To: [EMAIL PROTECTED] > Subject: <xsl:copy-of> eating attribute values > > > Hello > > I noticed a strange behaviour when using it for the following: > > In my XML file I have this line: > <option selected="selected">False</option> > > In my XSL file I want to copy that node with: > <xsl:copy-of select="./option"/> > > If I do that the result will be: > > <option selected>False</option> > > The attribute value has dissappeared! > Note that this doesn't happen if the attribute value is > DIFFERENT than the > attribute name. For example with > > <option selected="Blue">False</option> > > It will work as expected. > Is this a bug or default behaviour that I don't know about? > > Best regards, > Roland >
