This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: Attribute repeated how to avoid them
- From: "alex ek" <alexek at rediffmail dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: 7 Aug 2002 12:15:50 -0000
- Subject: Re: Re: [xsl] Attribute repeated how to avoid them
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@virbus.de
www.virbus.de
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
__________________________________________________________
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