Subject: Re: [xsl] Attribute repeated how to avoid them From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Wed, 07 Aug 2002 14:29:40 +0200 |
That means no way to solve the problem. here is something offtopic. I am using tidy to make html into well formed xhtml. Is there any way to convert html into xml using tidy. though at site they have written that but in help there is no option . there is -asxml option which converts html to xhtml. Alexek
On Wed, 07 Aug 2002 Joerg Heinicke wrote :
This error is not given by the XSLT processor, but the parser. You don't have a well-formed XML if you have duplicate attributes.
Regards,
Joerg
alex ek wrote:
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
System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Re: [xsl] Attribute repeated ho, alex ek | Thread | Re: Re: [xsl] Attribute repeated ho, Thomas B. Passin |
Re: Re: [xsl] Attribute repeated ho, alex ek | Date | RE: [xsl] Output Arrow Symbols - on, jdgarrett |
Month |