[XSL-LIST Mailing List Archive Home]
This is not an XSL problem: this is badly-formed XML. See
"No attribute name may appear more than once in the same start-tag or
> -----Original Message-----
> From: alex ek [mailto:alexek@xxxxxxxxxxxxxx]
> Sent: 07 August 2002 12:18
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> I have a little problem .
> I have written a stylesheet which is working (though it has
> problem as i mentioned).the problem is that if any element in the
> input document has any attribute repeated like in some documents
> it is like
> <a href="url" target="" target="">
> then the xslt processor is giving duplicate attribute error.
> I am not taking any attribute in output except those which are
> required like in <xsl:template match ="a"> i am taking only href
> attribute and in img only src and so on.
> I am not concerned with alignment or any thing.
> so is there any way to tell the processor that it should
> not look for other attribute or may be just avoid duplicate
> attribute and proceed.
> Give your Company an email address like
> ravi @ ravi-exports.com. Sign up for Rediffmail Pro today!
> Know more. http://www.rediffmailpro.com/signup/
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list