Subject: [xsl] RE: From: Stuart Brown <sbrown@xxxxxxxxxxxxx> Date: Wed, 28 Aug 2002 11:59:37 +0100 |
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@xxxxxxxxxxxxxx] > Sent: 07 August 2002 12:18 > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE:, Stuart Brown | Thread | [xsl] RE:, Stuart Brown |
Re: [xsl] SAXParseException, Trevor Nash | Date | RE: [xsl] Returning the file name o, Cams Ismael |
Month |