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

Re: attribute order

Subject: Re: attribute order
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Fri, 22 Feb 2002 10:47:48 -0800
xerces attribute order
On Friday 22 February 2002 02:03, Andy Joslin wrote:
> Hi Peter
>
> I've just tried rearranging the attributes and the processor (in my case,
> Xalan/Xerces) does seem to respect the order..

If it works it works :)  I was speaking from my past experience trying to 
solve the same problem, but unfortunately I can't remember which processor 
that was...  Thanks for the excellent observation, which I will be sure to 
remember in case I encounter this problem again.

>
> e.g.
>
> <xsl:attribute name="width">580</xsl:attribute>
> <xsl:attribute name="cellpadding">0</xsl:attribute>
> <xsl:attribute name="cellspacing">0</xsl:attribute>
> <xsl:attribute name="border">0</xsl:attribute>
>
> becomes...
>
> <table width="580" cellspacing="0" cellpadding="0" border="0">
>
>
> I can't speak for other processors, but this works for me. I don't know
> what setup Meltem is using, but it would be interesting to see if this
> behaviour is consistent across implementations.
>
>
> cheers
>
>
> Andy
>
>
>
>
>
>
> -----Original Message-----
> From: Peter Davis [mailto:pdavis152@xxxxxxxxx]
> Sent: 21 February 2002 19:34
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  attribute order
>
>
>
> It was my experience that processors that change the order tend to
> alphabetize the attributes, or, if the processor happens to store the
> attributes in a hash-map of some kind, seemingly random order.  Have you
> tried if rearranging the attribute-set has the same effect in the output?
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
Peter Davis
The opossum is a very sophisticated animal.  It doesn't even get up
until 5 or 6 PM.

 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.