A second look lead to one more discovery: On Wed, 23 Sep 2009, Raphael Geissert wrote: > + <xsl:if test="$hasother and $other/@security!='0'"> > + <li>There <xsl:if test="$other/@security!='1'">are</xsl:if>
security is an attribute of the $other XML element > + # Get security issues > + if security.has_key(pkg): > + elt = doc.createElement('security') > + root_elt.appendChild(elt) This sub-element is then not needed/wanted. > + root_elt.setAttribute('security', security[pkg]) Here you assign the attribute without caring about the sub-element, confirming that it's not needed. Cheers, -- Raphaƫl Hertzog -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org