This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE:


Hi Alex,

This is not an XSL problem: this is badly-formed XML. See
http://www.w3.org/TR/2000/REC-xml-20001006#uniqattspec:
 "No attribute name may appear more than once in the same start-tag or
empty-element tag."

Cheers,

Stuart

> -----Original Message-----
> From: alex ek [mailto:alexek@rediffmail.com]
> Sent: 07 August 2002 12:18
> To: XSL-List@lists.mulberrytech.com
> Subject: 
> 
> 
> 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.
> alexEK
> __________________________________________________________
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]