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



Reply via email to