[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Attribute repeated how to avoid them

Subject: Re: Attribute repeated how to avoid them
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Wed, 07 Aug 2002 13:51:13 +0200
xsl duplicate attribute
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


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.