cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Verhage <pe...@ibuildings.nl>
Subject Attribute order
Date Wed, 04 Oct 2000 13:33:44 GMT
I have an xml page which get transformed into a html document (with a
xslt).
But because of the way Cocoon (Xerces really...) handles the order of
attributes the
attributes of a meta tag get ordered wrong, so that it does not work
anymore (at least not in Netscape, did not try Explorer).

The input is:
<meta http-equiv="refresh" content="15;URL=include.xml#bottom"/>

The output is:
<meta content="15;URL=#bottom" http-equiv="refresh">

That won't work... If I see it correctly Xerces alphabetically orders
the attributes or something similar like that. As you can understand I
don't want that, at least not when I use certain tags like the meta tag.

How can I prevent Xerces from doing this? I don't want to edit source
code, I just want to change something to the input, that will make sure
I get the correct output...

I also asked this question at the Xerces mailinglist, but I don't think
I'm the first one who is having this problem. So maybe already knows the
answer, and if not, it can also be usefull to learn :)

With best regards,

Peter



-- 
Peter Verhage       <peter@ibuildings.nl>
ibuildings.nl BV - information technology
http://www.ibuildings.nl -  0118 41 50 54

Mime
View raw message