xsl-list
[Top] [All Lists]

RE:

2002-08-28 03:59:37
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(_at_)rediffmail(_dot_)com]
Sent: 07 August 2002 12:18
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)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



<Prev in Thread] Current Thread [Next in Thread>
  • RE:, Stuart Brown <=